public class DavGatewaySSLProtocolSocketFactory extends Object implements org.apache.commons.httpclient.protocol.SecureProtocolSocketFactory
Constructor and Description |
---|
DavGatewaySSLProtocolSocketFactory() |
Modifier and Type | Method and Description |
---|---|
Socket |
createSocket(InetAddress host,
int port) |
Socket |
createSocket(InetAddress host,
int port,
InetAddress clientHost,
int clientPort) |
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) |
Socket |
createSocket(String host,
int port,
InetAddress clientHost,
int clientPort,
org.apache.commons.httpclient.params.HttpConnectionParams params) |
boolean |
equals(Object obj)
All instances of SSLProtocolSocketFactory are the same.
|
String[] |
getDefaultCipherSuites() |
String[] |
getSupportedCipherSuites() |
int |
hashCode()
All instances of SSLProtocolSocketFactory have the same hash code.
|
static void |
register()
Register custom Socket Factory to let user accept or reject certificate
|
public static void register()
public String[] getDefaultCipherSuites()
public String[] getSupportedCipherSuites()
public Socket createSocket(String host, int port, InetAddress clientHost, int clientPort) throws IOException
createSocket
in interface org.apache.commons.httpclient.protocol.ProtocolSocketFactory
IOException
public Socket createSocket(String host, int port, InetAddress clientHost, int clientPort, org.apache.commons.httpclient.params.HttpConnectionParams params) throws IOException
createSocket
in interface org.apache.commons.httpclient.protocol.ProtocolSocketFactory
IOException
public Socket createSocket(String host, int port) throws IOException
createSocket
in interface org.apache.commons.httpclient.protocol.ProtocolSocketFactory
IOException
public Socket createSocket(Socket socket, String host, int port, boolean autoClose) throws IOException
createSocket
in interface org.apache.commons.httpclient.protocol.SecureProtocolSocketFactory
IOException
public Socket createSocket(InetAddress host, int port) throws IOException
IOException
public Socket createSocket(InetAddress host, int port, InetAddress clientHost, int clientPort) throws IOException
IOException
public boolean equals(Object obj)
Copyright © 2001–2020 MickaĆ«l Guessant. All rights reserved.