public class SSLSocketFactoryEx extends SSLSocketFactory
Modifier and Type | Class and Description |
---|---|
static class |
SSLSocketFactoryEx.SSLChannelMode |
Constructor and Description |
---|
SSLSocketFactoryEx(SSLSocketFactoryEx.SSLChannelMode channelMode) |
Modifier and Type | Method and Description |
---|---|
Socket |
createSocket() |
Socket |
createSocket(InetAddress host,
int port) |
Socket |
createSocket(InetAddress address,
int port,
InetAddress localAddress,
int localPort) |
Socket |
createSocket(Socket s,
String host,
int port,
boolean autoClose) |
Socket |
createSocket(String host,
int port) |
Socket |
createSocket(String host,
int port,
InetAddress localHost,
int localPort) |
String[] |
getDefaultCipherSuites() |
static SSLSocketFactoryEx |
getDefaultFactory(SSLSocketFactoryEx.SSLChannelMode sslChannelMode) |
String[] |
getSupportedCipherSuites() |
String |
getUserAgent() |
createSocket, getDefault
public SSLSocketFactoryEx(SSLSocketFactoryEx.SSLChannelMode channelMode) throws IOException
IOException
public static SSLSocketFactoryEx getDefaultFactory(SSLSocketFactoryEx.SSLChannelMode sslChannelMode) throws IOException
IOException
public String getUserAgent()
public String[] getDefaultCipherSuites()
getDefaultCipherSuites
in class SSLSocketFactory
public String[] getSupportedCipherSuites()
getSupportedCipherSuites
in class SSLSocketFactory
public Socket createSocket() throws IOException
createSocket
in class SocketFactory
IOException
public Socket createSocket(Socket s, String host, int port, boolean autoClose) throws IOException
createSocket
in class SSLSocketFactory
IOException
public Socket createSocket(InetAddress address, int port, InetAddress localAddress, int localPort) throws IOException
createSocket
in class SocketFactory
IOException
public Socket createSocket(String host, int port, InetAddress localHost, int localPort) throws IOException
createSocket
in class SocketFactory
IOException
public Socket createSocket(InetAddress host, int port) throws IOException
createSocket
in class SocketFactory
IOException
public Socket createSocket(String host, int port) throws IOException
createSocket
in class SocketFactory
IOException
Copyright © 2019 Microsoft Corporation. All rights reserved.