public class SSLSocketFactory extends WeblogicSocketFactory
| Modifier and Type | Field and Description |
|---|---|
protected static SocketFactory |
defFactory |
protected SSLSocketFactory |
jsseFactory |
| Modifier and Type | Method and Description |
|---|---|
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(InetAddress host,
int port,
int connectionTimeoutMillis) |
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.
|
String[] |
getSupportedCipherSuites()
Returns the names of the cipher suites which could be enabled for use
on an SSL connection.
|
createSocketprotected static SocketFactory defFactory
protected SSLSocketFactory jsseFactory
public static SocketFactory getDefault()
public 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 closedIOException - if the connection can't be establishedUnknownHostException - if the host is not knownpublic Socket createSocket(String host, int port) throws UnknownHostException, IOException
createSocket in class SocketFactoryhost - the server hostport - the server portIOException - if the connection can't be establishedUnknownHostException - if the host is not knownpublic Socket createSocket(InetAddress address, int port) throws UnknownHostException, IOException
createSocket in class SocketFactoryaddress - the server network addressport - the server portIOException - if the connection can't be establishedUnknownHostException - if the host is not knownpublic Socket createSocket(String host, int port, InetAddress clientAddress, int clientPort) throws UnknownHostException, IOException
createSocket in class SocketFactoryhost - the server hostport - the server portclientAddress - the client network addressclientPort - the client portIOException - if the connection can't be establishedUnknownHostException - if the host is not knownpublic Socket createSocket(InetAddress address, int port, InetAddress clientAddress, int clientPort) throws UnknownHostException, IOException
createSocket in class SocketFactoryaddress - the server network addressport - the server portclientAddress - the client network addressclientPort - the client portIOException - if the connection can't be establishedUnknownHostException - if the host is not knownpublic Socket createSocket(InetAddress host, int port, int connectionTimeoutMillis) throws IOException
createSocket in class WeblogicSocketFactoryIOExceptionpublic String[] getDefaultCipherSuites()
SSLSocketFactory.getSupportedCipherSuites()public String[] getSupportedCipherSuites()