@Immutable public final class NettySdkHttpClientFactory extends Object implements SdkAsyncHttpClientFactory, ToCopyableBuilder<NettySdkHttpClientFactory.Builder,NettySdkHttpClientFactory>
builder() to
configure and construct an immutable instance of the factory.| Modifier and Type | Class and Description |
|---|---|
static interface |
NettySdkHttpClientFactory.Builder
Builder interface for
NettySdkHttpClientFactory. |
| Modifier and Type | Method and Description |
|---|---|
static NettySdkHttpClientFactory.Builder |
builder() |
Optional<Duration> |
connectionAcquisitionTimeout() |
Optional<Duration> |
connectionTimeout() |
SdkAsyncHttpClient |
createHttpClient()
Create an HTTP client instance with global defaults applied.
|
SdkAsyncHttpClient |
createHttpClientWithDefaults(AttributeMap serviceDefaults)
Create an
SdkAsyncHttpClient with service specific defaults applied. |
EventLoopGroupConfiguration |
eventLoopGroupConfiguration() |
Optional<Integer> |
maxConnectionsPerEndpoint() |
Optional<Integer> |
maxPendingAcquires() |
Optional<Duration> |
readTimeout() |
NettySdkHttpClientFactory.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
Optional<Boolean> |
trustAllCertificates() |
Optional<Duration> |
writeTimeout() |
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitcopypublic Optional<Integer> maxConnectionsPerEndpoint()
NettySdkHttpClientFactory.Builder.maxConnectionsPerEndpoint(Integer)public Optional<Integer> maxPendingAcquires()
NettySdkHttpClientFactory.Builder.maxPendingAcquires(Integer)public Optional<Duration> writeTimeout()
NettySdkHttpClientFactory.Builder.writeTimeout(Duration)public Optional<Duration> readTimeout()
NettySdkHttpClientFactory.Builder.readTimeout(Duration)public Optional<Duration> connectionTimeout()
NettySdkHttpClientFactory.Builder.connectionTimeout(Duration)public Optional<Duration> connectionAcquisitionTimeout()
NettySdkHttpClientFactory.Builder.connectionTimeout(Duration)public Optional<Boolean> trustAllCertificates()
NettySdkHttpClientFactory.Builder.trustAllCertificates(Boolean)public EventLoopGroupConfiguration eventLoopGroupConfiguration()
EventLoopGroupConfiguration which is a container for either an EventLoopGroup or an
DefaultEventLoopGroupFactory.NettySdkHttpClientFactory.Builder.eventLoopGroupConfiguration(EventLoopGroupConfiguration)public SdkAsyncHttpClient createHttpClient()
public SdkAsyncHttpClient createHttpClientWithDefaults(AttributeMap serviceDefaults)
SdkAsyncHttpClientFactorySdkAsyncHttpClient with service specific defaults applied. Applying service defaults is optional
and some options may not be supported by a particular implementation.createHttpClientWithDefaults in interface SdkAsyncHttpClientFactoryserviceDefaults - Service specific defaults. Keys will be one of the constants defined in
SdkHttpConfigurationOption.public NettySdkHttpClientFactory.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<NettySdkHttpClientFactory.Builder,NettySdkHttpClientFactory>public static NettySdkHttpClientFactory.Builder builder()
NettySdkHttpClientFactory.Builder for creating an immutable NettySdkHttpClientFactory.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.