|
BEA Systems, Inc. | |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.net.SocketFactory
weblogic.security.SSL.SSLSocketFactory
Delegates to SSLSocketFactory requests to create SSL sockets.
Constructor Summary | |
SSLSocketFactory()
Creates SSLSocketFactory using default configuration. |
Method Summary | |
Socket |
createSocket(InetAddress address,
int port)
Returns a socket connected to a ServerSocket at the specified network address and port. |
Socket |
createSocket(InetAddress address,
int port,
InetAddress clientAddress,
int clientPort)
Returns a socket connected to a ServerSocket at the specified network address and port. |
Socket |
createSocket(Socket socket,
String host,
int port,
boolean autoClose)
Returns a socket layered over an existing socket to a ServerSocket on the named host, at the given port. |
Socket |
createSocket(String host,
int port)
Returns a socket connected to a ServerSocket on the named host, at the given port. |
Socket |
createSocket(String host,
int port,
InetAddress clientAddress,
int clientPort)
Returns a socket connected to a ServerSocket on the named host, at the given port. |
static SocketFactory |
getDefault()
Returns the default SSL socket factory. |
String[] |
getDefaultCipherSuites()
Returns the list of cipher suites which are enabled by default. |
static SocketFactory |
getDefaultJSSE()
Deprecated. WLS 9.0 (04/2003) Replaced by getDefault() |
String[] |
getSupportedCipherSuites()
Returns the names of the cipher suites which could be enabled for use on an SSL connection. |
Methods inherited from class javax.net.SocketFactory |
createSocket |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SSLSocketFactory()
Method Detail |
public Socket createSocket(InetAddress address, int port) throws UnknownHostException, IOException
address
- the server network addressport
- the server port
IOException
- if the connection can't be established
UnknownHostException
- if the host is not knownpublic Socket createSocket(InetAddress address, int port, InetAddress clientAddress, int clientPort) throws UnknownHostException, IOException
address
- the server network addressport
- the server portclientAddress
- the client network addressclientPort
- the client port
IOException
- if the connection can't be established
UnknownHostException
- if the host is not knownpublic Socket createSocket(Socket socket, String host, int port, boolean autoClose) throws UnknownHostException, IOException
socket
- the existing sockethost
- the server hostport
- the server portautoClose
- close the underlying socket when this socket is closed
IOException
- if the connection can't be established
UnknownHostException
- if the host is not knownpublic Socket createSocket(String host, int port) throws UnknownHostException, IOException
host
- the server hostport
- the server port
IOException
- if the connection can't be established
UnknownHostException
- if the host is not knownpublic Socket createSocket(String host, int port, InetAddress clientAddress, int clientPort) throws UnknownHostException, IOException
host
- the server hostport
- the server portclientAddress
- the client network addressclientPort
- the client port
IOException
- if the connection can't be established
UnknownHostException
- if the host is not knownpublic static SocketFactory getDefault()
public String[] getDefaultCipherSuites()
getSupportedCipherSuites()
public static SocketFactory getDefaultJSSE()
public String[] getSupportedCipherSuites()
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs90 Copyright 2005 BEA Systems Inc. |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |