Package com.amazonaws
Class ApacheHttpClientConfig
java.lang.Object
com.amazonaws.ApacheHttpClientConfig
Used for Apache HTTP client specific custom configurations.
-
Method Summary
Modifier and TypeMethodDescriptionorg.apache.http.conn.socket.ConnectionSocketFactory
Returns a custom Apache HTTP client specific SSL socket factory; or null if there is none.void
setSslSocketFactory
(org.apache.http.conn.socket.ConnectionSocketFactory sslSocketFactory) Sets a custom Apache HTTP client specific SSL socket factory.withSslSocketFactory
(org.apache.http.conn.socket.ConnectionSocketFactory sslSocketFactory) Fluent API for setting a custom Apache HTTP client specific SSL socket factory.
-
Method Details
-
getSslSocketFactory
public org.apache.http.conn.socket.ConnectionSocketFactory getSslSocketFactory()Returns a custom Apache HTTP client specific SSL socket factory; or null if there is none. -
setSslSocketFactory
public void setSslSocketFactory(org.apache.http.conn.socket.ConnectionSocketFactory sslSocketFactory) Sets a custom Apache HTTP client specific SSL socket factory.- Parameters:
sslSocketFactory
- a custom Apache HTTP client specific SSL socket factory; or null if there is none.
-
withSslSocketFactory
public ApacheHttpClientConfig withSslSocketFactory(org.apache.http.conn.socket.ConnectionSocketFactory sslSocketFactory) Fluent API for setting a custom Apache HTTP client specific SSL socket factory.- Parameters:
sslSocketFactory
- a custom Apache HTTP client specific SSL socket factory; or null if there is none.
-