Class SdkDefaultClientBuilder.NonManagedSdkHttpClient
java.lang.Object
software.amazon.awssdk.core.client.builder.SdkDefaultClientBuilder.NonManagedSdkHttpClient
- All Implemented Interfaces:
AutoCloseable,SdkHttpClient,SdkAutoCloseable
- Enclosing class:
- SdkDefaultClientBuilder<B extends SdkClientBuilder<B,
C>, C>
@SdkTestInternalApi
public static final class SdkDefaultClientBuilder.NonManagedSdkHttpClient
extends Object
implements SdkHttpClient
Wrapper around
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.-
Nested Class Summary
Nested classes/interfaces inherited from interface software.amazon.awssdk.http.SdkHttpClient
SdkHttpClient.Builder<T extends SdkHttpClient.Builder<T>> -
Method Summary
-
Method Details
-
prepareRequest
- Specified by:
prepareRequestin interfaceSdkHttpClient
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceSdkAutoCloseable
-
clientName
- Specified by:
clientNamein interfaceSdkHttpClient
-