public class TeaAsyncHandler extends Object implements IAsyncHandler, SdkAutoCloseable
| Modifier and Type | Class and Description |
|---|---|
static interface |
TeaAsyncHandler.Builder<ProviderT,BuilderT extends TeaAsyncHandler.Builder> |
protected static class |
TeaAsyncHandler.BuilderImpl<ProviderT,BuilderT extends TeaAsyncHandler.Builder> |
| Constructor and Description |
|---|
TeaAsyncHandler(ClientConfiguration config) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
ClientConfiguration |
configuration() |
<InputT extends RequestModel,OutputT extends TeaModel> |
execute(ClientExecutionParams<InputT,OutputT> executionParams) |
HttpClient |
httpClient() |
void |
validateRequestModel(RequestModel model) |
public TeaAsyncHandler(ClientConfiguration config)
public void validateRequestModel(RequestModel model)
public HttpClient httpClient()
public ClientConfiguration configuration()
public void close()
close in interface SdkAutoCloseableclose in interface AutoCloseablepublic <InputT extends RequestModel,OutputT extends TeaModel> CompletableFuture<OutputT> execute(ClientExecutionParams<InputT,OutputT> executionParams)
execute in interface IAsyncHandlerCopyright © 2022. All rights reserved.