org.apache.abdera.protocol.client.util
Class ClientAuthSSLProtocolSocketFactory
java.lang.Object
org.apache.abdera.protocol.client.util.ClientAuthSSLProtocolSocketFactory
- All Implemented Interfaces:
- org.apache.commons.httpclient.protocol.ProtocolSocketFactory, org.apache.commons.httpclient.protocol.SecureProtocolSocketFactory
public class ClientAuthSSLProtocolSocketFactory
- extends Object
- implements org.apache.commons.httpclient.protocol.SecureProtocolSocketFactory
Constructor Summary |
ClientAuthSSLProtocolSocketFactory(KeyStore ks,
String keyStorePass)
|
ClientAuthSSLProtocolSocketFactory(KeyStore ks,
String keyStorePass,
String protocol,
String kmfFactory,
TrustManager tm)
|
ClientAuthSSLProtocolSocketFactory(String keyStore,
String keyStoreType,
String keyStorePass,
String protocol,
String kmfFactory,
TrustManager tm)
|
Method Summary |
Socket |
createSocket(Socket socket,
String host,
int port,
boolean close)
|
Socket |
createSocket(String host,
int port)
|
Socket |
createSocket(String host,
int port,
InetAddress chost,
int cport)
|
Socket |
createSocket(String host,
int port,
InetAddress chost,
int cport,
org.apache.commons.httpclient.params.HttpConnectionParams params)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClientAuthSSLProtocolSocketFactory
public ClientAuthSSLProtocolSocketFactory(KeyStore ks,
String keyStorePass)
ClientAuthSSLProtocolSocketFactory
public ClientAuthSSLProtocolSocketFactory(KeyStore ks,
String keyStorePass,
String protocol,
String kmfFactory,
TrustManager tm)
ClientAuthSSLProtocolSocketFactory
public ClientAuthSSLProtocolSocketFactory(String keyStore,
String keyStoreType,
String keyStorePass,
String protocol,
String kmfFactory,
TrustManager tm)
createSocket
public Socket createSocket(Socket socket,
String host,
int port,
boolean close)
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 chost,
int cport)
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 chost,
int cport,
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
Copyright © 2006-2010 Apache Software Foundation. All Rights Reserved.