@FunctionalInterface public static interface SdkAsyncHttpClient.Builder<T extends SdkAsyncHttpClient.Builder<T>> extends SdkBuilder<T,SdkAsyncHttpClient>
SdkAsyncHttpClient with service specific defaults applied.
Implementations must be thread safe.
| Modifier and Type | Method and Description |
|---|---|
default SdkAsyncHttpClient |
build()
Create a
SdkAsyncHttpClient without defaults applied. |
SdkAsyncHttpClient |
buildWithDefaults(AttributeMap serviceDefaults)
Create an
SdkAsyncHttpClient with service specific defaults applied. |
applyMutationdefault SdkAsyncHttpClient build()
SdkAsyncHttpClient without defaults applied. This is useful for reusing an HTTP client across multiple
services.build in interface SdkBuilder<T extends SdkAsyncHttpClient.Builder<T>,SdkAsyncHttpClient>SdkAsyncHttpClient buildWithDefaults(AttributeMap serviceDefaults)
SdkAsyncHttpClient with service specific defaults applied. Applying service defaults is optional
and some options may not be supported by a particular implementation.serviceDefaults - Service specific defaults. Keys will be one of the constants defined in
SdkHttpConfigurationOption.Copyright © 2018. All rights reserved.