Class MultiplexHttpDestination

All Implemented Interfaces:
Closeable, AutoCloseable, Destination, HttpDestination.Multiplexed, Callback, Container, Destroyable, Dumpable, Dumpable.DumpableContainer, LifeCycle, Invocable, Sweeper.Sweepable

public class MultiplexHttpDestination extends HttpDestination implements HttpDestination.Multiplexed

A destination for those transports that are multiplex (e.g. HTTP/2).

Transports that negotiate the protocol, and therefore do not know in advance whether they are duplex or multiplex, should use this class and when the cardinality is known call setMaxRequestsPerConnection(int) with the proper cardinality.

If the cardinality is 1, the behavior of this class is similar to that of DuplexHttpDestination.

  • Constructor Details

    • MultiplexHttpDestination

      public MultiplexHttpDestination(HttpClient client, Origin origin)
    • MultiplexHttpDestination

      public MultiplexHttpDestination(HttpClient client, Origin origin, boolean intrinsicallySecure)
  • Method Details