类 ServiceClient
java.lang.Object
com.digiwin.dap.middleware.dwpay.common.comm.ServiceClient
- 直接已知子类:
DefaultServiceClient
Abstract service client that provides interfaces to access dwPay services.
- 从以下版本开始:
- 1.0.0
- 作者:
- fobgochod
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明abstract DwPayConfigsendRequest(RequestMessage request, ExecutionContext context) Send HTTP request with specified context to DMC and wait for HTTP response.protected abstract ResponseMessagesendRequestCore(RequestMessage request, ExecutionContext context) sendRequestImpl(RequestMessage request, ExecutionContext context) abstract voidshutdown()
-
字段详细资料
-
logger
protected static final org.slf4j.Logger logger -
clientConfig
-
-
构造器详细资料
-
ServiceClient
-
-
方法详细资料
-
getClientConfiguration
-
sendRequestCore
protected abstract ResponseMessage sendRequestCore(RequestMessage request, ExecutionContext context) throws IOException - 抛出:
IOException
-
getConfig
-
shutdown
public abstract void shutdown() -
getConnectionPoolStats
-
sendRequest
public ResponseMessage sendRequest(RequestMessage request, ExecutionContext context) throws ServiceException, ClientException Send HTTP request with specified context to DMC and wait for HTTP response.- 参数:
request- 请求信息context- 上下文- 返回:
- 响应结果
- 抛出:
ServiceExceptionClientException
-
sendRequestImpl
public ResponseMessage sendRequestImpl(RequestMessage request, ExecutionContext context) throws ServiceException, ClientException
-