Class ApacheHttpClient
java.lang.Object
software.amazon.awssdk.http.apache.ApacheHttpClient
- All Implemented Interfaces:
AutoCloseable,SdkHttpClient,SdkAutoCloseable
@SdkPublicApi
@Deprecated
public final class ApacheHttpClient
extends Object
implements SdkHttpClient
Deprecated.
Apache 4.x is in maintenance mode. Users are encouraged to switch to the
Apache 5 HTTP Client
which is feature compatible with this client.
An implementation of
SdkHttpClient that uses Apache HttpClient 4.x to communicate with the service. This is a
full-featured synchronous client that adds an extra dependency and higher startup latency compared to
UrlConnectionHttpClient
in exchange for more functionality, like support for HTTP proxies.
See software.amazon.awssdk.http.urlconnection.UrlConnectionHttpClient for an alternative implementation.
This can be created via builder()
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceDeprecated.Apache 4.x is in maintenance mode. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic ApacheHttpClient.Builderbuilder()Deprecated.Deprecated.voidclose()Deprecated.static SdkHttpClientcreate()Deprecated.Create aApacheHttpClientwith the default propertiesprepareRequest(HttpExecuteRequest request) Deprecated.
-
Field Details
-
CLIENT_NAME
Deprecated.- See Also:
-
-
Method Details
-
builder
Deprecated. -
create
Deprecated.Create aApacheHttpClientwith the default properties- Returns:
- an
ApacheHttpClient
-
prepareRequest
Deprecated.- Specified by:
prepareRequestin interfaceSdkHttpClient
-
close
public void close()Deprecated.- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceSdkAutoCloseable
-
clientName
Deprecated.- Specified by:
clientNamein interfaceSdkHttpClient
-