public class JSSESocketFactory extends DefaultSocketFactory implements SecureSocketFactory
Modifier and Type | Field and Description |
---|---|
protected SSLSocketFactory |
sslFactory
Field sslFactory
|
attributes, CONNECT_TIMEOUT, log
Constructor and Description |
---|
JSSESocketFactory(Hashtable attributes)
Constructor JSSESocketFactory
|
Modifier and Type | Method and Description |
---|---|
Socket |
create(String host,
int port,
StringBuffer otherHeaders,
BooleanHolder useFullURL)
creates a secure socket
|
protected void |
initFactory()
Initialize the SSLSocketFactory
|
isHostInNonProxyList, match
protected SSLSocketFactory sslFactory
public JSSESocketFactory(Hashtable attributes)
attributes
- protected void initFactory() throws IOException
IOException
public Socket create(String host, int port, StringBuffer otherHeaders, BooleanHolder useFullURL) throws Exception
create
in interface SocketFactory
create
in class DefaultSocketFactory
host
- port
- otherHeaders
- useFullURL
- Exception
Copyright © The Apache Software Foundation. All Rights Reserved.