javax.net.ssl
Class SSLSocketFactory
java.lang.Object
|
+--javax.net.SocketFactory
|
+--javax.net.ssl.SSLSocketFactory
- Direct Known Subclasses:
- SSLeaySocketFactory
- public abstract class SSLSocketFactory
- extends SocketFactory
Class SSLSocketFactory is an abstract class which provides Sun's interface,
but no functionality. The only implemented methods are getDefault
and
setDefault
. setDefault
should be used by the runtime
environment to set the actual SSLSocketFactory
implementation.
- Version:
- $Revision: 1.4 $
- Author:
- Andrei Popovici
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
SSLSocketFactory
public SSLSocketFactory()
createSocket
public abstract java.net.Socket createSocket(java.lang.String host,
int port)
throws java.io.IOException,
java.net.UnknownHostException
- Overrides:
- createSocket in class SocketFactory
createSocket
public abstract java.net.Socket createSocket(java.lang.String host,
int port,
java.net.InetAddress clientHost,
int clientPort)
throws java.io.IOException,
java.net.UnknownHostException
- Overrides:
- createSocket in class SocketFactory
createSocket
public abstract java.net.Socket createSocket(java.net.InetAddress host,
int port)
throws java.io.IOException
- Overrides:
- createSocket in class SocketFactory
createSocket
public abstract java.net.Socket createSocket(java.net.InetAddress address,
int port,
java.net.InetAddress clientAddress,
int clientPort)
throws java.io.IOException
- Overrides:
- createSocket in class SocketFactory
getDefaultCipherSuites
public abstract java.lang.String[] getDefaultCipherSuites()
getSupportedCipherSuites
public abstract java.lang.String[] getSupportedCipherSuites()
getDefault
public static SocketFactory getDefault()
setDefault
public static void setDefault(SSLSocketFactory factory)