@Immutable @ThreadSafe public interface SdkHttpClient 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 |
SdkHttpClient.Builder<T extends SdkHttpClient.Builder<T>>
Interface for creating an
SdkHttpClient with service specific defaults applied. |
Modifier and Type | Method and Description |
---|---|
AbortableCallable<SdkHttpFullResponse> |
prepareRequest(SdkHttpFullRequest request,
SdkRequestContext requestContext)
Create a
AbortableCallable that can be used to execute the HTTP request. |
close
getConfigurationValue
AbortableCallable<SdkHttpFullResponse> prepareRequest(SdkHttpFullRequest request, SdkRequestContext requestContext)
AbortableCallable
that can be used to execute the HTTP request.request
- Representation of an HTTP request.requestContext
- Contains any extra dependencies needed.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.