public class CustomSSLProtocolSocketFactory extends Object implements org.apache.http.conn.scheme.SchemeLayeredSocketFactory
Constructor and Description |
---|
CustomSSLProtocolSocketFactory() |
Modifier and Type | Method and Description |
---|---|
Socket |
connectSocket(Socket sock,
InetSocketAddress remoteAddress,
InetSocketAddress localAddress,
org.apache.http.params.HttpParams params) |
Socket |
createLayeredSocket(Socket socket,
String s,
int i,
org.apache.http.params.HttpParams httpParams) |
Socket |
createSocket(org.apache.http.params.HttpParams httpParams) |
boolean |
equals(Object obj) |
int |
hashCode() |
boolean |
isSecure(Socket socket) |
public boolean isSecure(Socket socket) throws IllegalArgumentException
isSecure
in interface org.apache.http.conn.scheme.SchemeSocketFactory
IllegalArgumentException
public Socket createLayeredSocket(Socket socket, String s, int i, org.apache.http.params.HttpParams httpParams) throws IOException
createLayeredSocket
in interface org.apache.http.conn.scheme.SchemeLayeredSocketFactory
IOException
public Socket createSocket(org.apache.http.params.HttpParams httpParams) throws IOException
createSocket
in interface org.apache.http.conn.scheme.SchemeSocketFactory
IOException
public Socket connectSocket(Socket sock, InetSocketAddress remoteAddress, InetSocketAddress localAddress, org.apache.http.params.HttpParams params) throws IOException
connectSocket
in interface org.apache.http.conn.scheme.SchemeSocketFactory
IOException
Copyright © 1999–2018 UCAR/Unidata. All rights reserved.