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() |
ExecutableHttpRequest |
prepareRequest(HttpExecuteRequest request)
Create a
ExecutableHttpRequest that can be used to execute the HTTP request. |
public ExecutableHttpRequest prepareRequest(HttpExecuteRequest request)
SdkHttpClient
ExecutableHttpRequest
that can be used to execute the HTTP request.prepareRequest
in interface SdkHttpClient
request
- Representation of an HTTP request.public void close()
SdkAutoCloseable
close
in interface AutoCloseable
close
in interface SdkAutoCloseable
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.