public final class HttpClientDependencies extends Object implements SdkAutoCloseable
AmazonSyncHttpClient
and AmazonAsyncHttpClient
.
May be injected into constructors of RequestPipeline
implementations by RequestPipelineBuilder
.Modifier and Type | Class and Description |
---|---|
static class |
HttpClientDependencies.Builder
Builder for
HttpClientDependencies . |
Modifier and Type | Method and Description |
---|---|
static HttpClientDependencies.Builder |
builder() |
SdkClientConfiguration |
clientConfiguration() |
void |
close() |
CapacityManager |
retryCapacity() |
int |
timeOffset() |
void |
updateTimeOffset(int timeOffset)
Updates the time offset of the client as well as the global time offset.
|
public static HttpClientDependencies.Builder builder()
public SdkClientConfiguration clientConfiguration()
public CapacityManager retryCapacity()
public int timeOffset()
public void updateTimeOffset(int timeOffset)
public void close()
close
in interface AutoCloseable
close
in interface SdkAutoCloseable
Copyright © 2019. All rights reserved.