public interface YopHttpClient
| 限定符和类型 | 方法和说明 |
|---|---|
<Output extends BaseResponse,Input extends BaseRequest> |
execute(Request<Input> yopRequest,
YopRequestConfig yopRequestConfig,
ExecutionContext executionContext,
HttpResponseHandler<Output> responseHandler)
execute the http request
|
void |
shutdown()
Shutdown and release any underlying resources.
|
<Output extends BaseResponse,Input extends BaseRequest> Output execute(Request<Input> yopRequest, YopRequestConfig yopRequestConfig, ExecutionContext executionContext, HttpResponseHandler<Output> responseHandler)
yopRequest - a yop requestyopRequestConfig - request config to override the default client configexecutionContext - contextresponseHandler - the response handler for callbackvoid shutdown()
Copyright © 2024. All rights reserved.