|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectdavmail.http.DavGatewaySSLProtocolSocketFactory
public class DavGatewaySSLProtocolSocketFactory
Manual Socket Factory. Let user choose to accept or reject certificate
| Constructor Summary | |
|---|---|
DavGatewaySSLProtocolSocketFactory()
|
|
| Method Summary | |
|---|---|
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. |
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DavGatewaySSLProtocolSocketFactory()
| Method Detail |
|---|
public static void register()
public Socket createSocket(String host,
int port,
InetAddress clientHost,
int clientPort)
throws IOException
createSocket in interface org.apache.commons.httpclient.protocol.ProtocolSocketFactoryIOException
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.ProtocolSocketFactoryIOException
public Socket createSocket(String host,
int port)
throws IOException
createSocket in interface org.apache.commons.httpclient.protocol.ProtocolSocketFactoryIOException
public Socket createSocket(Socket socket,
String host,
int port,
boolean autoClose)
throws IOException
createSocket in interface org.apache.commons.httpclient.protocol.SecureProtocolSocketFactoryIOExceptionpublic boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||