@NotThreadSafe public final class ApacheHttpClientConfig extends Object
Modifier and Type | Method and Description |
---|---|
org.apache.http.conn.socket.ConnectionSocketFactory |
getSslSocketFactory()
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.
|
ApacheHttpClientConfig |
withSslSocketFactory(org.apache.http.conn.socket.ConnectionSocketFactory sslSocketFactory)
Fluent API for setting a custom Apache HTTP client specific SSL socket
factory.
|
public org.apache.http.conn.socket.ConnectionSocketFactory getSslSocketFactory()
public void setSslSocketFactory(org.apache.http.conn.socket.ConnectionSocketFactory sslSocketFactory)
sslSocketFactory
- a custom Apache HTTP client specific SSL socket
factory; or null if there is none.public ApacheHttpClientConfig withSslSocketFactory(org.apache.http.conn.socket.ConnectionSocketFactory sslSocketFactory)
sslSocketFactory
- a custom Apache HTTP client specific SSL socket
factory; or null if there is none.Copyright © 2020. All rights reserved.