public class UntrustedSSLProtocolSocketFactory
extends org.apache.commons.httpclient.protocol.SSLProtocolSocketFactory
| Constructor and Description |
|---|
UntrustedSSLProtocolSocketFactory() |
| Modifier and Type | Method and Description |
|---|---|
Socket |
createSocket(Socket socket,
String host,
int port,
boolean autoClose) |
Socket |
createSocket(String host,
int port) |
Socket |
createSocket(String host,
int port,
InetAddress clientHost,
int clientPort) |
static void |
register() |
static void |
unregister() |
public static void register()
public static void unregister()
public Socket createSocket(String host, int port, InetAddress clientHost, int clientPort) throws IOException, UnknownHostException
createSocket in interface org.apache.commons.httpclient.protocol.ProtocolSocketFactorycreateSocket in class org.apache.commons.httpclient.protocol.SSLProtocolSocketFactoryIOExceptionUnknownHostExceptionpublic Socket createSocket(String host, int port) throws IOException, UnknownHostException
createSocket in interface org.apache.commons.httpclient.protocol.ProtocolSocketFactorycreateSocket in class org.apache.commons.httpclient.protocol.SSLProtocolSocketFactoryIOExceptionUnknownHostExceptionpublic Socket createSocket(Socket socket, String host, int port, boolean autoClose) throws IOException, UnknownHostException
createSocket in interface org.apache.commons.httpclient.protocol.SecureProtocolSocketFactorycreateSocket in class org.apache.commons.httpclient.protocol.SSLProtocolSocketFactoryIOExceptionUnknownHostExceptionCopyright © 2008-2013 Red Hat, Inc.. All Rights Reserved.