public final class HtmlUnitSSLConnectionSocketFactory
extends org.apache.http.conn.ssl.SSLConnectionSocketFactory
| Modifier and Type | Method and Description |
|---|---|
static org.apache.http.conn.ssl.SSLConnectionSocketFactory |
buildSSLSocketFactory(WebClientOptions options)
Factory method that builds a new SSLConnectionSocketFactory.
|
Socket |
connectSocket(int connectTimeout,
Socket socket,
org.apache.http.HttpHost host,
InetSocketAddress remoteAddress,
InetSocketAddress localAddress,
org.apache.http.protocol.HttpContext context)
Connect via socket.
|
static void |
setUseSSL3Only(org.apache.http.protocol.HttpContext httpContext,
boolean ssl3Only)
Enables/Disables the exclusive usage of SSL3.
|
public static void setUseSSL3Only(org.apache.http.protocol.HttpContext httpContext,
boolean ssl3Only)
httpContext - the http contextssl3Only - true or falsepublic static org.apache.http.conn.ssl.SSLConnectionSocketFactory buildSSLSocketFactory(WebClientOptions options)
options - the current WebClientOptionspublic Socket connectSocket(int connectTimeout, Socket socket, org.apache.http.HttpHost host, InetSocketAddress remoteAddress, InetSocketAddress localAddress, org.apache.http.protocol.HttpContext context) throws IOException
connectSocket in interface org.apache.http.conn.socket.ConnectionSocketFactoryconnectSocket in class org.apache.http.conn.ssl.SSLConnectionSocketFactoryconnectTimeout - the timeoutsocket - the sockethost - the hostremoteAddress - the remote addresslocalAddress - the local addresscontext - the contextIOException - in case of problemsCopyright © 2002–2025 Gargoyle Software Inc.. All rights reserved.