public class SoapUISSLSocketFactory
extends org.apache.http.conn.ssl.SSLSocketFactory
Constructor and Description |
---|
SoapUISSLSocketFactory(KeyStore keyStore,
String keystorePassword) |
Modifier and Type | Method and Description |
---|---|
Socket |
connectSocket(Socket socket,
InetSocketAddress remoteAddress,
InetSocketAddress localAddress,
org.apache.http.params.HttpParams params) |
Socket |
createLayeredSocket(Socket socket,
String host,
int port,
boolean autoClose) |
Socket |
createSocket(org.apache.http.params.HttpParams params) |
public SoapUISSLSocketFactory(KeyStore keyStore, String keystorePassword) throws KeyManagementException, UnrecoverableKeyException, NoSuchAlgorithmException, KeyStoreException
public Socket createSocket(org.apache.http.params.HttpParams params) throws IOException
createSocket
in interface org.apache.http.conn.scheme.SchemeSocketFactory
createSocket
in class org.apache.http.conn.ssl.SSLSocketFactory
IOException
public Socket connectSocket(Socket socket, InetSocketAddress remoteAddress, InetSocketAddress localAddress, org.apache.http.params.HttpParams params) throws IOException, UnknownHostException, org.apache.http.conn.ConnectTimeoutException
connectSocket
in interface org.apache.http.conn.scheme.SchemeSocketFactory
connectSocket
in class org.apache.http.conn.ssl.SSLSocketFactory
IOException
UnknownHostException
org.apache.http.conn.ConnectTimeoutException
public Socket createLayeredSocket(Socket socket, String host, int port, boolean autoClose) throws IOException, UnknownHostException
createLayeredSocket
in interface org.apache.http.conn.scheme.LayeredSchemeSocketFactory
createLayeredSocket
in class org.apache.http.conn.ssl.SSLSocketFactory
IOException
UnknownHostException
Copyright © 2019. All Rights Reserved.