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, matchprotected SSLSocketFactory sslFactory
public JSSESocketFactory(Hashtable attributes)
attributes - protected void initFactory()
throws IOException
IOExceptionpublic Socket create(String host, int port, StringBuffer otherHeaders, BooleanHolder useFullURL) throws Exception
create in interface SocketFactorycreate in class DefaultSocketFactoryhost - port - otherHeaders - useFullURL - ExceptionCopyright © The Apache Software Foundation. All Rights Reserved.