public final class UrlConnectionHttpClient extends Object implements SdkHttpClient
SdkHttpClient that uses HttpURLConnection to communicate with the service. This is the
leanest synchronous client that optimizes for minimum dependencies and startup latency in exchange for having less
functionality than other implementations.
See software.amazon.awssdk.http.apache.ApacheHttpClient for an alternative implementation.
This can be created via builder()
| Modifier and Type | Class and Description |
|---|---|
static interface |
UrlConnectionHttpClient.Builder
A builder for an instance of
SdkHttpClient that uses JDKs build-in URLConnection HTTP
implementation. |
| Modifier and Type | Method and Description |
|---|---|
static UrlConnectionHttpClient.Builder |
builder() |
void |
close() |
AbortableCallable<SdkHttpFullResponse> |
prepareRequest(ExecuteRequest request) |
public static UrlConnectionHttpClient.Builder builder()
public AbortableCallable<SdkHttpFullResponse> prepareRequest(ExecuteRequest request)
prepareRequest in interface SdkHttpClientpublic void close()
close in interface AutoCloseableclose in interface SdkAutoCloseableCopyright © 2018. All rights reserved.