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()