public class HttpSSLProtocolSocketFactory extends SSLSocketFactory
Constructor and Description |
---|
HttpSSLProtocolSocketFactory() |
HttpSSLProtocolSocketFactory(int cps) |
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 inetAddress,
int localPort) |
String[] |
getDefaultCipherSuites() |
String[] |
getSupportedCipherSuites() |
createSocket, getDefault
public HttpSSLProtocolSocketFactory()
public HttpSSLProtocolSocketFactory(int cps)
public Socket createSocket() throws IOException, UnknownHostException
createSocket
in class SocketFactory
IOException
UnknownHostException
SocketFactory.createSocket()
public Socket createSocket(InetAddress host, int port) throws IOException
createSocket
in class SocketFactory
IOException
public Socket createSocket(InetAddress address, int port, InetAddress localAddress, int localPort) 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 s, String host, int port, boolean autoClose) throws IOException
createSocket
in class SSLSocketFactory
IOException
public Socket createSocket(String host, int port) throws IOException, UnknownHostException
createSocket
in class SocketFactory
IOException
UnknownHostException
public Socket createSocket(String host, int port, InetAddress inetAddress, int localPort) throws IOException, UnknownHostException
createSocket
in class SocketFactory
IOException
UnknownHostException
Copyright © 1998-2019 Apache Software Foundation. All Rights Reserved.