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, initpublic Response send(Request message)
ClientEnginemessage - HTTP请求消息public Object getRawEngine()
ClientEnginepublic void close()
throws IOException
IOExceptionprotected void reset()
AbstractClientEnginereset in class AbstractClientEngineprotected void initEngine()
AbstractClientEngineinitEngine in class AbstractClientEngineCopyright © 2025. All rights reserved.