public class RestrictedSSLSocketFactory extends SSLSocketFactory
Constructor and Description |
---|
RestrictedSSLSocketFactory(SSLContext sslContext,
String[] cipherSuites,
String[] protocols) |
Modifier and Type | Method and Description |
---|---|
Socket |
createSocket() |
Socket |
createSocket(InetAddress address,
int port) |
Socket |
createSocket(InetAddress address,
int port,
InetAddress clientAddress,
int clientPort) |
Socket |
createSocket(Socket socket,
String host,
int port,
boolean autoClose) |
Socket |
createSocket(String host,
int port) |
Socket |
createSocket(String host,
int port,
InetAddress clientAddress,
int clientPort) |
String[] |
getDefaultCipherSuites() |
String[] |
getSupportedCipherSuites() |
getDefault
public RestrictedSSLSocketFactory(SSLContext sslContext, String[] cipherSuites, String[] protocols)
public Socket createSocket(String host, int port) throws IOException
createSocket
in class SocketFactory
IOException
public Socket createSocket(String host, int port, InetAddress clientAddress, int clientPort) throws IOException
createSocket
in class SocketFactory
IOException
public Socket createSocket(InetAddress address, int port) throws IOException
createSocket
in class SocketFactory
IOException
public Socket createSocket(InetAddress address, int port, InetAddress clientAddress, int clientPort) throws IOException
createSocket
in class SocketFactory
IOException
public String[] getDefaultCipherSuites()
getDefaultCipherSuites
in class SSLSocketFactory
public String[] getSupportedCipherSuites()
getSupportedCipherSuites
in class SSLSocketFactory
public Socket createSocket(Socket socket, String host, int port, boolean autoClose) throws IOException
createSocket
in class SSLSocketFactory
IOException
public Socket createSocket() throws IOException
createSocket
in class SocketFactory
IOException
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.