@Immutable @ThreadSafe public interface SdkAsyncHttpClient extends SdkAutoCloseable, ConfigurationProvider
Implementations MUST be thread safe.
Note: This interface will change between SDK versions and should not be implemented by SDK users.
| Modifier and Type | Interface and Description |
|---|---|
static interface |
SdkAsyncHttpClient.Builder<T extends SdkAsyncHttpClient.Builder<T>>
Interface for creating an
SdkAsyncHttpClient with service specific defaults applied. |
| Modifier and Type | Method and Description |
|---|---|
AbortableRunnable |
prepareRequest(SdkHttpRequest request,
SdkRequestContext context,
SdkHttpRequestProvider requestProvider,
SdkHttpResponseHandler handler)
Create an
AbortableRunnable that can be used to execute the HTTP request. |
closegetConfigurationValueAbortableRunnable prepareRequest(SdkHttpRequest request, SdkRequestContext context, SdkHttpRequestProvider requestProvider, SdkHttpResponseHandler handler)
AbortableRunnable that can be used to execute the HTTP request.request - HTTP request (without content).context - Request context containing additional dependencies.requestProvider - Representation of an HTTP requestProvider.handler - The handler that will be called when data is received.Copyright © 2018. All rights reserved.