|
Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.1.2) Part Number E27170-01 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.net.SocketFactory
weblogic.socket.WeblogicSocketFactory
weblogic.security.SSL.SSLSocketFactory
public class SSLSocketFactory
Delegates to SSLSocketFactory requests to create SSL sockets.
Field Summary | |
---|---|
protected static SocketFactory |
defFactory
|
protected SSLSocketFactory |
jsseFactory
|
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(InetAddress host,
int port,
int connectionTimeoutMillis)
Returns a socket layered over an existing socket to a ServerSocket on the named host, at the given port with the given timeout duration. |
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 |
Field Detail |
---|
protected static SocketFactory defFactory
protected SSLSocketFactory jsseFactory
Constructor Detail |
---|
public SSLSocketFactory()
Method Detail |
---|
public static SocketFactory getDefault()
public static SocketFactory getDefaultJSSE()
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 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
createSocket
in class SocketFactory
host
- the server hostport
- the server port
IOException
- if the connection can't be established
UnknownHostException
- if the host is not knownpublic Socket createSocket(InetAddress address, int port) throws UnknownHostException, IOException
createSocket
in class SocketFactory
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(String host, int port, InetAddress clientAddress, int clientPort) throws UnknownHostException, IOException
createSocket
in class SocketFactory
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 Socket createSocket(InetAddress address, int port, InetAddress clientAddress, int clientPort) throws UnknownHostException, IOException
createSocket
in class SocketFactory
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(InetAddress host, int port, int connectionTimeoutMillis) throws IOException
createSocket
in class WeblogicSocketFactory
host
- the server hostport
- the server portconnectionTimeoutMillis
- the socket timeout in milliseconds
IOException
- if the connection can't be establishedpublic String[] getDefaultCipherSuites()
SSLSocketFactory.getSupportedCipherSuites()
public String[] getSupportedCipherSuites()
|
Copyright 1996, 2013, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.1.2) Part Number E27170-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |