Class SSLProtocolSocketFactory

java.lang.Object
org.apache.axis2.java.security.SSLProtocolSocketFactory
All Implemented Interfaces:
org.apache.commons.httpclient.protocol.ProtocolSocketFactory, org.apache.commons.httpclient.protocol.SecureProtocolSocketFactory

public class SSLProtocolSocketFactory extends Object implements org.apache.commons.httpclient.protocol.SecureProtocolSocketFactory
See Also:
  • Constructor Details

    • SSLProtocolSocketFactory

      public SSLProtocolSocketFactory(SSLContext ctx)
  • Method Details

    • createSocket

      public Socket createSocket(String host, int port, InetAddress localAddress, int localPort, org.apache.commons.httpclient.params.HttpConnectionParams params) throws IOException
      Specified by:
      createSocket in interface org.apache.commons.httpclient.protocol.ProtocolSocketFactory
      Throws:
      IOException
    • createSocket

      public Socket createSocket(String host, int port, InetAddress clientHost, int clientPort) throws IOException
      Specified by:
      createSocket in interface org.apache.commons.httpclient.protocol.ProtocolSocketFactory
      Throws:
      IOException
      See Also:
      • ProtocolSocketFactory.createSocket(java.lang.String, int, java.net.InetAddress, int)
    • createSocket

      public Socket createSocket(String host, int port) throws IOException
      Specified by:
      createSocket in interface org.apache.commons.httpclient.protocol.ProtocolSocketFactory
      Throws:
      IOException
      See Also:
      • ProtocolSocketFactory.createSocket(java.lang.String, int)
    • createSocket

      public Socket createSocket(Socket socket, String host, int port, boolean autoClose) throws IOException
      Specified by:
      createSocket in interface org.apache.commons.httpclient.protocol.SecureProtocolSocketFactory
      Throws:
      IOException
      See Also:
      • SecureProtocolSocketFactory.createSocket(java.net.Socket, java.lang.String, int, boolean)