@Immutable @ThreadSafe public interface SdkHttpClient extends SdkAutoCloseable
Implementations MUST be thread safe.
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 |
---|---|
default String |
clientName()
Each HTTP client implementation should return a well-formed client name
that allows requests to be identifiable back to the client that made the request.
|
ExecutableHttpRequest |
prepareRequest(HttpExecuteRequest request)
Create a
ExecutableHttpRequest that can be used to execute the HTTP request. |
close
ExecutableHttpRequest prepareRequest(HttpExecuteRequest request)
ExecutableHttpRequest
that can be used to execute the HTTP request.request
- Representation of an HTTP request.default String clientName()
Copyright © 2020. All rights reserved.