@FunctionalInterface public static interface SdkAsyncHttpClient.Builder<T extends SdkAsyncHttpClient.Builder<T>> extends SdkBuilder<T,SdkAsyncHttpClient>
Modifier and Type | Method and Description |
---|---|
default SdkAsyncHttpClient |
build()
Create a
SdkAsyncHttpClient with global defaults applied. |
SdkAsyncHttpClient |
buildWithDefaults(AttributeMap serviceDefaults)
Create an
SdkAsyncHttpClient with service specific defaults applied. |
applyMutation
default SdkAsyncHttpClient build()
SdkAsyncHttpClient
with global defaults applied. This is useful for reusing an HTTP client across
multiple services.build
in interface Buildable
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 © 2022. All rights reserved.