| Package | Description | 
|---|---|
| com.amazonaws.http | |
| com.amazonaws.http.apache.client.impl | |
| com.amazonaws.http.timers | 
 Classes for the request timeout and client execution timeout features. 
 | 
| com.amazonaws.retry | 
| Modifier and Type | Field and Description | 
|---|---|
ConnectionManagerAwareHttpClient | 
AmazonHttpClientAdaptiveRetriesTest.mockApache  | 
| Constructor and Description | 
|---|
AmazonHttpClient(ClientConfiguration clientConfig,
                ConnectionManagerAwareHttpClient httpClient,
                RequestMetricCollector requestMetricCollector,
                TokenBucket tokenBucket)
Package-protected constructor for unit test purposes. 
 | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
SdkHttpClient
An instance of  
ConnectionManagerAwareHttpClient that delegates all the requests to the given http client. | 
| Modifier and Type | Method and Description | 
|---|---|
ConnectionManagerAwareHttpClient | 
ApacheHttpClientFactory.create(HttpClientSettings settings)  | 
| Modifier and Type | Method and Description | 
|---|---|
static ConnectionManagerAwareHttpClient | 
ClientExecutionAndRequestTimerTestUtils.createRawHttpClientSpy(ClientConfiguration config)
Creates Apache  
HttpClient spy | 
| Modifier and Type | Class and Description | 
|---|---|
static class  | 
RetryPolicyTestBase.MockHttpClient
A base abstract class for fake HttpClient implementations 
 | 
static class  | 
RetryPolicyTestBase.ReturnServiceErrorHttpClient
A mock HttpClient implementation that does nothing but directly returns a
 BasicHttpResponse object with the specified status code upon any call on
 execute(...) method. 
 | 
static class  | 
RetryPolicyTestBase.ThrowingExceptionHttpClient
A mock HttpClient implementation that does nothing but throws the
 specified IOException or RuntimeException upon any call on execute(...)
 method. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static void | 
RetryPolicyTestBase.injectMockHttpClient(AmazonHttpClient amazonHttpClient,
                    ConnectionManagerAwareHttpClient mockHttpClient)  | 
Copyright © 2021. All rights reserved.