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 -
Method Summary
Modifier and TypeMethodDescriptionconnectSocket
(int connectTimeout, Socket socket, org.apache.http.HttpHost host, InetSocketAddress remoteAddress, InetSocketAddress localAddress, org.apache.http.protocol.HttpContext context) createSocket
(String host, int port) createSocket
(String host, int port, InetAddress localAddress, int localPort) createSocket
(InetAddress inetAddress, int i) createSocket
(InetAddress inetAddress, int i, InetAddress inetAddress1, int i1) createSocket
(Socket socket, String host, int port, boolean autoClose) createSocket
(org.apache.http.protocol.HttpContext context) String[]
String[]
Methods inherited from class javax.net.ssl.SSLSocketFactory
createSocket, getDefault
-
Constructor Details
-
DoubleSSLSocketFactory
-
-
Method Details
-
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
- Specified by:
createSocket
in classSocketFactory
- Throws:
IOException
-
getDefaultCipherSuites
- Specified by:
getDefaultCipherSuites
in classSSLSocketFactory
-
getSupportedCipherSuites
- Specified by:
getSupportedCipherSuites
in classSSLSocketFactory
-
createSocket
- 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
- Overrides:
createSocket
in classSocketFactory
- Throws:
IOException
-
createSocket
- 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
-