Class LazyLayeredConnectionSocketFactory

java.lang.Object
org.apache.jmeter.protocol.http.sampler.hc.LazyLayeredConnectionSocketFactory
All Implemented Interfaces:
org.apache.http.conn.socket.ConnectionSocketFactory, org.apache.http.conn.socket.LayeredConnectionSocketFactory

public final class LazyLayeredConnectionSocketFactory extends Object implements org.apache.http.conn.socket.LayeredConnectionSocketFactory
LazyLayeredConnectionSocketFactory that lazily initializes HTTPS Socket Factory
Since:
5.0
  • Constructor Details

    • LazyLayeredConnectionSocketFactory

      public LazyLayeredConnectionSocketFactory()
  • Method Details

    • createSocket

      public Socket createSocket(org.apache.http.protocol.HttpContext paramHttpContext) throws IOException
      Specified by:
      createSocket in interface org.apache.http.conn.socket.ConnectionSocketFactory
      Throws:
      IOException
    • connectSocket

      public Socket connectSocket(int paramInt, Socket paramSocket, org.apache.http.HttpHost paramHttpHost, InetSocketAddress paramInetSocketAddress1, InetSocketAddress paramInetSocketAddress2, org.apache.http.protocol.HttpContext paramHttpContext) throws IOException
      Specified by:
      connectSocket in interface org.apache.http.conn.socket.ConnectionSocketFactory
      Throws:
      IOException
    • createLayeredSocket

      public Socket createLayeredSocket(Socket paramSocket, String paramString, int paramInt, org.apache.http.protocol.HttpContext paramHttpContext) throws IOException
      Specified by:
      createLayeredSocket in interface org.apache.http.conn.socket.LayeredConnectionSocketFactory
      Throws:
      IOException