org.mule.transport.http
Class MuleSecureProtocolSocketFactory
java.lang.Object
org.mule.transport.http.MuleSecureProtocolSocketFactory
- All Implemented Interfaces:
- org.apache.commons.httpclient.protocol.ProtocolSocketFactory, org.apache.commons.httpclient.protocol.SecureProtocolSocketFactory
public class MuleSecureProtocolSocketFactory
- extends Object
- implements org.apache.commons.httpclient.protocol.SecureProtocolSocketFactory
|
Method Summary |
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. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MuleSecureProtocolSocketFactory
public MuleSecureProtocolSocketFactory(SSLSocketFactory factory)
createSocket
public Socket createSocket(Socket socket,
String host,
int port,
boolean autoClose)
throws IOException,
UnknownHostException
- Specified by:
createSocket in interface org.apache.commons.httpclient.protocol.SecureProtocolSocketFactory
- Throws:
IOException
UnknownHostException
createSocket
public Socket createSocket(String host,
int port)
throws IOException,
UnknownHostException
- Specified by:
createSocket in interface org.apache.commons.httpclient.protocol.ProtocolSocketFactory
- Throws:
IOException
UnknownHostException
createSocket
public Socket createSocket(String host,
int port,
InetAddress localAddress,
int localPort)
throws IOException,
UnknownHostException
- Specified by:
createSocket in interface org.apache.commons.httpclient.protocol.ProtocolSocketFactory
- Throws:
IOException
UnknownHostException
createSocket
public 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
- Specified by:
createSocket in interface org.apache.commons.httpclient.protocol.ProtocolSocketFactory
- Throws:
IOException
UnknownHostException
org.apache.commons.httpclient.ConnectTimeoutException
createSocketWithTimeout
protected Socket createSocketWithTimeout(String host,
int port,
InetAddress localAddress,
int localPort,
int timeout)
throws IOException
- This is a direct version of code in
ReflectionSocketFactory.
- Throws:
IOException
Copyright © 2003-2011 MuleSoft, Inc.. All Rights Reserved.