org.apache.servicemix.http.processors
Class CommonsHttpSSLSocketFactory
java.lang.Object
org.apache.servicemix.http.processors.CommonsHttpSSLSocketFactory
- All Implemented Interfaces:
- org.apache.commons.httpclient.protocol.ProtocolSocketFactory, org.apache.commons.httpclient.protocol.SecureProtocolSocketFactory
public class CommonsHttpSSLSocketFactory
- extends Object
- implements org.apache.commons.httpclient.protocol.SecureProtocolSocketFactory
|
Method Summary |
protected void |
createManagedFactory(SslParameters ssl,
org.apache.servicemix.common.security.KeystoreManager keystoreManager)
|
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 void |
createUnmanagedFactory(SslParameters ssl)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CommonsHttpSSLSocketFactory
public CommonsHttpSSLSocketFactory(SslParameters ssl,
org.apache.servicemix.common.security.KeystoreManager keystoreManager)
throws Exception
- Throws:
Exception
createManagedFactory
protected final void createManagedFactory(SslParameters ssl,
org.apache.servicemix.common.security.KeystoreManager keystoreManager)
throws Exception
- Throws:
Exception
createUnmanagedFactory
protected final void createUnmanagedFactory(SslParameters ssl)
throws Exception
- Throws:
Exception
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,
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
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
Copyright © 2005-2008 Apache Software Foundation. All Rights Reserved.