Class SSLProtocolSocketFactory

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

@Deprecated public class SSLProtocolSocketFactory extends Object implements SecureProtocolSocketFactory
Deprecated.
Jakarta Commons HttpClient 3.x is deprecated in the Jenkins project. It is not recommended to use it in any new code. Instead, use HTTP client API plugins as a dependency in your code. E.g. Apache HttpComponents Client API 4.x Plugin or Async HTTP Client Plugin.
A SecureProtocolSocketFactory that uses JSSE to create sockets.
Since:
2.0
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated.
    Constructor for SSLProtocolSocketFactory.
  • Method Summary

    Modifier and Type
    Method
    Description
    createSocket(String host, int port)
    Deprecated.
    Gets a new socket connection to the given host.
    createSocket(String host, int port, InetAddress clientHost, int clientPort)
    Deprecated.
    Gets a new socket connection to the given host.
    createSocket(String host, int port, InetAddress localAddress, int localPort, HttpConnectionParams params)
    Deprecated.
    Attempts to get a new socket connection to the given host within the given time limit.
    createSocket(Socket socket, String host, int port, boolean autoClose)
    Deprecated.
    Returns a socket connected to the given host that is layered over an existing socket.
    boolean
    Deprecated.
    All instances of SSLProtocolSocketFactory are the same.
    int
    Deprecated.
    All instances of SSLProtocolSocketFactory have the same hash code.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, toString, wait, wait, wait