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>
public static final class SdkDefaultClientBuilder.NonManagedSdkHttpClient extends Object implements SdkHttpClient
Wrapper aroundSdkHttpClient
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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
clientName()
void
close()
ExecutableHttpRequest
prepareRequest(HttpExecuteRequest request)
-
-
-
Method Detail
-
prepareRequest
public ExecutableHttpRequest prepareRequest(HttpExecuteRequest request)
- Specified by:
prepareRequest
in interfaceSdkHttpClient
-
close
public void close()
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceSdkAutoCloseable
-
clientName
public String clientName()
- Specified by:
clientName
in interfaceSdkHttpClient
-
-