Class HttpClientTransportOverHTTP

All Implemented Interfaces:
HttpClientTransport, ClientConnectionFactory, Container, Destroyable, Dumpable, Dumpable.DumpableContainer, LifeCycle

@ManagedObject("The HTTP/1.1 client transport") @Deprecated(since="2021-05-27") public class HttpClientTransportOverHTTP extends AbstractConnectorHttpClientTransport
Deprecated.
  • Constructor Details

    • HttpClientTransportOverHTTP

      public HttpClientTransportOverHTTP()
      Deprecated.
    • HttpClientTransportOverHTTP

      public HttpClientTransportOverHTTP(int selectors)
      Deprecated.
  • Method Details

    • newHttpDestination

      public HttpDestination newHttpDestination(Origin origin)
      Deprecated.
      Description copied from interface: HttpClientTransport
      Creates a new, transport-specific, HttpDestination object.

      HttpDestination controls the destination-connection cardinality: protocols like HTTP have 1-N cardinality, while multiplexed protocols like HTTP/2 have a 1-1 cardinality.

      Parameters:
      origin - the destination origin
      Returns:
      a new, transport-specific, HttpDestination object
    • newConnection

      public Connection newConnection(EndPoint endPoint, Map<String,Object> context) throws IOException
      Deprecated.
      Parameters:
      endPoint - the EndPoint to link the newly created connection to
      context - the context data to create the connection
      Returns:
      a new Connection
      Throws:
      IOException - if the connection cannot be created
    • getHeaderCacheSize

      @ManagedAttribute("The maximum allowed size in bytes for an HTTP header field cache") public int getHeaderCacheSize()
      Deprecated.
    • setHeaderCacheSize

      public void setHeaderCacheSize(int headerCacheSize)
      Deprecated.