AutoCloseable
@ThreadSafe public class AmazonAsyncHttpClient extends Object implements AutoCloseable
Modifier and Type | Class | Description |
---|---|---|
static class |
AmazonAsyncHttpClient.Builder |
|
static interface |
AmazonAsyncHttpClient.RequestExecutionBuilder |
Interface to configure a request execution and execute the request.
|
Modifier and Type | Method | Description |
---|---|---|
static AmazonAsyncHttpClient.Builder |
builder() |
|
void |
close() |
Shuts down this HTTP client object, releasing any resources that might be held open.
|
RequestMetricCollector |
getRequestMetricCollector() |
Returns the httpClientSettings client specific request metric collector; or null if there is
none.
|
AmazonAsyncHttpClient.RequestExecutionBuilder |
requestExecutionBuilder() |
public static AmazonAsyncHttpClient.Builder builder()
public void close() throws Exception
close
in interface AutoCloseable
Exception
public RequestMetricCollector getRequestMetricCollector()
public AmazonAsyncHttpClient.RequestExecutionBuilder requestExecutionBuilder()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.