| java.lang.Object org.apache.commons.httpclient.contrib.ssl.SocketFactoryWrapper
SocketFactoryWrapper | public class SocketFactoryWrapper implements SecureProtocolSocketFactory(Code) | | Author: Mark Claassen
Uses some code from EasySSLProtocolSocketFactory.java
Wraps a SSLSocketFactory with a SecureProtocolSocketFactory.
This was designed to make HttpClient work in situations where an application is being deployed by
Java Web Start. In these cases, SSL connections are negotiated by webstart implementations of the
KeyManager and TrustManager. Wrapping the socket factory obtained from
HttpsURLConnection.getDefaultSocketFactory allows the use of HttpClient while still leveraging
Java Web Start's handling of SSL certificates
|
Method Summary | |
public Socket | createSocket(String host, int port) | public Socket | createSocket(String host, int port, InetAddress localAddress, int localPort) | public Socket | createSocket(String host, int port, InetAddress localAddress, int localPort, HttpConnectionParams params) | public Socket | createSocket(Socket socket, String host, int port, boolean autoClose) |
|
|