public class HttpClient4Engine extends AbstractClientEngine
config, cookieStore
Constructor and Description |
---|
HttpClient4Engine()
构造
|
Modifier and Type | Method and Description |
---|---|
void |
close() |
Object |
getRawEngine()
获取原始引擎的钩子方法,用于自定义特殊属性,如插件等
|
protected void |
initEngine()
初始化引擎,实现逻辑中如果初始化完成,不再重新初始化
|
protected void |
reset()
重置引擎
|
Response |
send(Request message)
发送HTTP请求
|
getCookieStore, init
public Response send(Request message)
ClientEngine
message
- HTTP请求消息public Object getRawEngine()
ClientEngine
public void close() throws IOException
IOException
protected void reset()
AbstractClientEngine
reset
in class AbstractClientEngine
protected void initEngine()
AbstractClientEngine
initEngine
in class AbstractClientEngine
Copyright © 2025. All rights reserved.