类 DefaultServiceClient
java.lang.Object
com.digiwin.dap.middleware.dwpay.common.comm.ServiceClient
com.digiwin.dap.middleware.dwpay.common.comm.DefaultServiceClient
Default implementation of
ServiceClient.- 从以下版本开始:
- 1.0.0
- 作者:
- fobgochod
-
字段概要
字段修饰符和类型字段说明protected DwPayConfigprotected org.apache.hc.client5.http.io.HttpClientConnectionManagerprotected org.apache.hc.client5.http.impl.classic.CloseableHttpClientprotected static com.digiwin.dap.middleware.dwpay.common.comm.HttpRequestFactoryprotected org.apache.hc.client5.http.config.RequestConfig从类继承的字段 com.digiwin.dap.middleware.dwpay.common.comm.ServiceClient
clientConfig, logger -
构造器概要
构造器构造器说明DefaultServiceClient(DwPayConfig config) DefaultServiceClient(DwPayConfig config, ClientConfiguration clientConfig) -
方法概要
从类继承的方法 com.digiwin.dap.middleware.dwpay.common.comm.ServiceClient
getClientConfiguration, sendRequest, sendRequestImpl
-
字段详细资料
-
httpRequestFactory
protected static com.digiwin.dap.middleware.dwpay.common.comm.HttpRequestFactory httpRequestFactory -
httpClient
protected org.apache.hc.client5.http.impl.classic.CloseableHttpClient httpClient -
connectionManager
protected org.apache.hc.client5.http.io.HttpClientConnectionManager connectionManager -
requestConfig
protected org.apache.hc.client5.http.config.RequestConfig requestConfig -
config
-
-
构造器详细资料
-
DefaultServiceClient
-
DefaultServiceClient
-
-
方法详细资料
-
sendRequestCore
public ResponseMessage sendRequestCore(RequestMessage request, ExecutionContext context) throws IOException - 指定者:
sendRequestCore在类中ServiceClient- 抛出:
IOException
-
getConfig
- 指定者:
getConfig在类中ServiceClient
-
shutdown
public void shutdown()- 指定者:
shutdown在类中ServiceClient
-
getConnectionPoolStats
- 覆盖:
getConnectionPoolStats在类中ServiceClient
-