Class HttpClientConnectionFactory

java.lang.Object
org.eclipse.jetty.client.transport.HttpClientConnectionFactory
All Implemented Interfaces:
org.eclipse.jetty.io.ClientConnectionFactory

public class HttpClientConnectionFactory extends Object implements org.eclipse.jetty.io.ClientConnectionFactory
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
    Representation of the HTTP/1.1 application protocol used by HttpClientTransportDynamic.

    Nested classes/interfaces inherited from interface org.eclipse.jetty.io.ClientConnectionFactory

    org.eclipse.jetty.io.ClientConnectionFactory.Decorator, org.eclipse.jetty.io.ClientConnectionFactory.Info, org.eclipse.jetty.io.ClientConnectionFactory.Wrapper
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final org.eclipse.jetty.io.ClientConnectionFactory.Info
    Representation of the HTTP/1.1 application protocol used by HttpClientTransportDynamic.

    Fields inherited from interface org.eclipse.jetty.io.ClientConnectionFactory

    CONTEXT_KEY
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    org.eclipse.jetty.io.Connection
    newConnection(org.eclipse.jetty.io.EndPoint endPoint, Map<String,Object> context)
     
    void
    setInitializeConnections(boolean initialize)
     

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.eclipse.jetty.io.ClientConnectionFactory

    customize
  • Field Details

    • HTTP11

      public static final org.eclipse.jetty.io.ClientConnectionFactory.Info HTTP11

      Representation of the HTTP/1.1 application protocol used by HttpClientTransportDynamic.

  • Constructor Details

    • HttpClientConnectionFactory

      public HttpClientConnectionFactory()
  • Method Details

    • isInitializeConnections

      public boolean isInitializeConnections()
      Returns:
      whether newly created connections should be initialized with an OPTIONS * HTTP/1.1 request
    • setInitializeConnections

      public void setInitializeConnections(boolean initialize)
      Parameters:
      initialize - whether newly created connections should be initialized with an OPTIONS * HTTP/1.1 request
    • newConnection

      public org.eclipse.jetty.io.Connection newConnection(org.eclipse.jetty.io.EndPoint endPoint, Map<String,Object> context)
      Specified by:
      newConnection in interface org.eclipse.jetty.io.ClientConnectionFactory