public class MuleSecureProtocolSocketFactory extends Object implements org.apache.commons.httpclient.protocol.SecureProtocolSocketFactory
| Constructor and Description |
|---|
MuleSecureProtocolSocketFactory(SSLSocketFactory factory) |
| Modifier and Type | Method and Description |
|---|---|
Socket |
createSocket(Socket socket,
String host,
int port,
boolean autoClose) |
Socket |
createSocket(String host,
int port) |
Socket |
createSocket(String host,
int port,
InetAddress localAddress,
int localPort) |
Socket |
createSocket(String host,
int port,
InetAddress localAddress,
int localPort,
org.apache.commons.httpclient.params.HttpConnectionParams params) |
protected Socket |
createSocketWithTimeout(String host,
int port,
InetAddress localAddress,
int localPort,
int timeout)
This is a direct version of code in
ReflectionSocketFactory. |
public MuleSecureProtocolSocketFactory(SSLSocketFactory factory)
public Socket createSocket(Socket socket, String host, int port, boolean autoClose) throws IOException, UnknownHostException
createSocket in interface org.apache.commons.httpclient.protocol.SecureProtocolSocketFactoryIOExceptionUnknownHostExceptionpublic Socket createSocket(String host, int port) throws IOException, UnknownHostException
createSocket in interface org.apache.commons.httpclient.protocol.ProtocolSocketFactoryIOExceptionUnknownHostExceptionpublic Socket createSocket(String host, int port, InetAddress localAddress, int localPort) throws IOException, UnknownHostException
createSocket in interface org.apache.commons.httpclient.protocol.ProtocolSocketFactoryIOExceptionUnknownHostExceptionpublic Socket createSocket(String host, int port, InetAddress localAddress, int localPort, org.apache.commons.httpclient.params.HttpConnectionParams params) throws IOException, UnknownHostException, org.apache.commons.httpclient.ConnectTimeoutException
createSocket in interface org.apache.commons.httpclient.protocol.ProtocolSocketFactoryIOExceptionUnknownHostExceptionorg.apache.commons.httpclient.ConnectTimeoutExceptionprotected Socket createSocketWithTimeout(String host, int port, InetAddress localAddress, int localPort, int timeout) throws IOException
ReflectionSocketFactory.IOExceptionCopyright © 2003–2015 MuleSoft, Inc.. All rights reserved.