public static final class SdkDefaultClientBuilder.NonManagedSdkHttpClient extends Object implements SdkHttpClient
SdkHttpClient
to prevent it from being closed. Used when the customer provides
an already built client in which case they are responsible for the lifecycle of it.SdkHttpClient.Builder<T extends SdkHttpClient.Builder<T>>
Modifier and Type | Method and Description |
---|---|
void |
close() |
<T> Optional<T> |
getConfigurationValue(SdkHttpConfigurationOption<T> key) |
AbortableCallable<SdkHttpFullResponse> |
prepareRequest(SdkHttpFullRequest request,
SdkRequestContext requestContext) |
public AbortableCallable<SdkHttpFullResponse> prepareRequest(SdkHttpFullRequest request, SdkRequestContext requestContext)
prepareRequest
in interface SdkHttpClient
public <T> Optional<T> getConfigurationValue(SdkHttpConfigurationOption<T> key)
getConfigurationValue
in interface ConfigurationProvider
public void close()
close
in interface AutoCloseable
close
in interface SdkAutoCloseable
Copyright © 2018. All rights reserved.