com.adventnet.zoho.client.report
Class CustomSSLProtocolSocketFactory
java.lang.Object
com.adventnet.zoho.client.report.CustomSSLProtocolSocketFactory
- All Implemented Interfaces:
- org.apache.commons.httpclient.protocol.ProtocolSocketFactory, org.apache.commons.httpclient.protocol.SecureProtocolSocketFactory
public class CustomSSLProtocolSocketFactory
- extends java.lang.Object
- implements org.apache.commons.httpclient.protocol.SecureProtocolSocketFactory
Method Summary |
java.net.Socket |
createSocket(java.net.Socket sock,
java.lang.String targetHost,
int targetPort,
boolean closeOnExit)
|
java.net.Socket |
createSocket(java.lang.String targetHost,
int targetPort)
|
java.net.Socket |
createSocket(java.lang.String targetHost,
int targetPort,
java.net.InetAddress myHost,
int myPort)
|
java.net.Socket |
createSocket(java.lang.String targetHost,
int targetPort,
java.net.InetAddress myHost,
int myPort,
org.apache.commons.httpclient.params.HttpConnectionParams conParams)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CustomSSLProtocolSocketFactory
public CustomSSLProtocolSocketFactory()
CustomSSLProtocolSocketFactory
public CustomSSLProtocolSocketFactory(org.apache.commons.httpclient.protocol.ProtocolSocketFactory base)
createSocket
public java.net.Socket createSocket(java.net.Socket sock,
java.lang.String targetHost,
int targetPort,
boolean closeOnExit)
throws java.io.IOException,
java.net.UnknownHostException
- Specified by:
createSocket
in interface org.apache.commons.httpclient.protocol.SecureProtocolSocketFactory
- Throws:
java.io.IOException
java.net.UnknownHostException
createSocket
public java.net.Socket createSocket(java.lang.String targetHost,
int targetPort,
java.net.InetAddress myHost,
int myPort)
throws java.io.IOException,
java.net.UnknownHostException
- Specified by:
createSocket
in interface org.apache.commons.httpclient.protocol.ProtocolSocketFactory
- Throws:
java.io.IOException
java.net.UnknownHostException
createSocket
public java.net.Socket createSocket(java.lang.String targetHost,
int targetPort,
java.net.InetAddress myHost,
int myPort,
org.apache.commons.httpclient.params.HttpConnectionParams conParams)
throws java.io.IOException,
java.net.UnknownHostException,
org.apache.commons.httpclient.ConnectTimeoutException
- Specified by:
createSocket
in interface org.apache.commons.httpclient.protocol.ProtocolSocketFactory
- Throws:
java.io.IOException
java.net.UnknownHostException
org.apache.commons.httpclient.ConnectTimeoutException
createSocket
public java.net.Socket createSocket(java.lang.String targetHost,
int targetPort)
throws java.io.IOException,
java.net.UnknownHostException
- Specified by:
createSocket
in interface org.apache.commons.httpclient.protocol.ProtocolSocketFactory
- Throws:
java.io.IOException
java.net.UnknownHostException
Copyright © 2018 AdventNet Inc. All Rights Reserved.