Class DoubleSSLSocketFactory
- java.lang.Object
-
- javax.net.SocketFactory
-
- javax.net.ssl.SSLSocketFactory
-
- com.atlassian.bamboo.agent.elastic.tunnel.DoubleSSLSocketFactory
-
- All Implemented Interfaces:
org.apache.http.conn.socket.ConnectionSocketFactory
public class DoubleSSLSocketFactory extends SSLSocketFactory implements org.apache.http.conn.socket.ConnectionSocketFactory
-
-
Constructor Summary
Constructors Constructor Description DoubleSSLSocketFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Socket
connectSocket(int connectTimeout, Socket socket, org.apache.http.HttpHost host, InetSocketAddress remoteAddress, InetSocketAddress localAddress, org.apache.http.protocol.HttpContext context)
Socket
createSocket()
Socket
createSocket(String host, int port)
Socket
createSocket(String host, int port, InetAddress localAddress, int localPort)
Socket
createSocket(InetAddress inetAddress, int i)
Socket
createSocket(InetAddress inetAddress, int i, InetAddress inetAddress1, int i1)
Socket
createSocket(Socket socket, String host, int port, boolean autoClose)
Socket
createSocket(org.apache.http.protocol.HttpContext context)
String[]
getDefaultCipherSuites()
String[]
getSupportedCipherSuites()
-
Methods inherited from class javax.net.ssl.SSLSocketFactory
createSocket, getDefault
-
-
-
-
Constructor Detail
-
DoubleSSLSocketFactory
public DoubleSSLSocketFactory() throws NoSuchAlgorithmException, KeyManagementException
-
-
Method Detail
-
createSocket
public Socket createSocket(Socket socket, String host, int port, boolean autoClose) throws IOException
- Specified by:
createSocket
in classSSLSocketFactory
- Throws:
IOException
-
createSocket
public Socket createSocket(String host, int port, InetAddress localAddress, int localPort) throws IOException
- Specified by:
createSocket
in classSocketFactory
- Throws:
IOException
-
createSocket
public Socket createSocket(String host, int port) throws IOException
- Specified by:
createSocket
in classSocketFactory
- Throws:
IOException
-
getDefaultCipherSuites
public String[] getDefaultCipherSuites()
- Specified by:
getDefaultCipherSuites
in classSSLSocketFactory
-
getSupportedCipherSuites
public String[] getSupportedCipherSuites()
- Specified by:
getSupportedCipherSuites
in classSSLSocketFactory
-
createSocket
public Socket createSocket(InetAddress inetAddress, int i) throws IOException
- Specified by:
createSocket
in classSocketFactory
- Throws:
IOException
-
createSocket
public Socket createSocket(InetAddress inetAddress, int i, InetAddress inetAddress1, int i1) throws IOException
- Specified by:
createSocket
in classSocketFactory
- Throws:
IOException
-
createSocket
public Socket createSocket() throws IOException
- Overrides:
createSocket
in classSocketFactory
- Throws:
IOException
-
createSocket
public Socket createSocket(org.apache.http.protocol.HttpContext context) throws IOException
- Specified by:
createSocket
in interfaceorg.apache.http.conn.socket.ConnectionSocketFactory
- Throws:
IOException
-
connectSocket
public Socket connectSocket(int connectTimeout, Socket socket, org.apache.http.HttpHost host, InetSocketAddress remoteAddress, InetSocketAddress localAddress, org.apache.http.protocol.HttpContext context) throws IOException
- Specified by:
connectSocket
in interfaceorg.apache.http.conn.socket.ConnectionSocketFactory
- Throws:
IOException
-
-