Package com.amazonaws
Class ApacheHttpClientConfig
- java.lang.Object
-
- com.amazonaws.ApacheHttpClientConfig
-
public final class ApacheHttpClientConfig extends Object
Used for Apache HTTP client specific custom configurations.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.http.conn.socket.ConnectionSocketFactorygetSslSocketFactory()Returns a custom Apache HTTP client specific SSL socket factory; or null if there is none.voidsetSslSocketFactory(org.apache.http.conn.socket.ConnectionSocketFactory sslSocketFactory)Sets a custom Apache HTTP client specific SSL socket factory.ApacheHttpClientConfigwithSslSocketFactory(org.apache.http.conn.socket.ConnectionSocketFactory sslSocketFactory)Fluent API for setting a custom Apache HTTP client specific SSL socket factory.
-
-
-
Method Detail
-
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.
-
-