Package jetbrains.buildServer.xmlrpc.ssl
Class UserSecureProtocolSocketFactory
- java.lang.Object
-
- jetbrains.buildServer.xmlrpc.ssl.UserSecureProtocolSocketFactory
-
- All Implemented Interfaces:
org.apache.commons.httpclient.protocol.ProtocolSocketFactory,org.apache.commons.httpclient.protocol.SecureProtocolSocketFactory
public class UserSecureProtocolSocketFactory extends Object implements org.apache.commons.httpclient.protocol.SecureProtocolSocketFactory
- Since:
- 2018.1
- Author:
- Mikhail Khorkov
-
-
Constructor Summary
Constructors Constructor Description UserSecureProtocolSocketFactory(SSLContext sslContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SocketcreateSocket(String host, int port)SocketcreateSocket(String host, int port, InetAddress localAddress, int localPort)SocketcreateSocket(String host, int port, InetAddress localAddress, int localPort, org.apache.commons.httpclient.params.HttpConnectionParams params)SocketcreateSocket(Socket socket, String host, int port, boolean autoClose)
-
-
-
Constructor Detail
-
UserSecureProtocolSocketFactory
public UserSecureProtocolSocketFactory(SSLContext sslContext)
-
-
Method Detail
-
createSocket
public Socket createSocket(String host, int port, InetAddress localAddress, int localPort) throws IOException
- Specified by:
createSocketin interfaceorg.apache.commons.httpclient.protocol.ProtocolSocketFactory- Throws:
IOException
-
createSocket
public Socket createSocket(String host, int port, InetAddress localAddress, int localPort, org.apache.commons.httpclient.params.HttpConnectionParams params) throws IOException
- Specified by:
createSocketin interfaceorg.apache.commons.httpclient.protocol.ProtocolSocketFactory- Throws:
IOException
-
createSocket
public Socket createSocket(String host, int port) throws IOException
- Specified by:
createSocketin interfaceorg.apache.commons.httpclient.protocol.ProtocolSocketFactory- Throws:
IOException
-
createSocket
public Socket createSocket(Socket socket, String host, int port, boolean autoClose) throws IOException, UnknownHostException
- Specified by:
createSocketin interfaceorg.apache.commons.httpclient.protocol.SecureProtocolSocketFactory- Throws:
IOExceptionUnknownHostException
-
-