Class ClientConnectionFactory.Info

All Implemented Interfaces:
Container, Destroyable, Dumpable, Dumpable.DumpableContainer, LifeCycle
Direct Known Subclasses:
ClientConnectionFactoryOverHTTP2.HTTP2, ClientConnectionFactoryOverHTTP3.HTTP3
Enclosing interface:

public abstract static class ClientConnectionFactory.Info extends ContainerLifeCycle

A holder for a list of protocol strings identifying an application protocol (for example ["h2", "h2-17", "h2-16"]) and a ClientConnectionFactory that creates connections that speak that network protocol.

  • Constructor Details

  • Method Details

    • getProtocols

      public abstract List<String> getProtocols(boolean secure)
    • getClientConnectionFactory

      public ClientConnectionFactory getClientConnectionFactory()
    • matches

      public boolean matches(List<String> candidates, boolean secure)
      Tests whether one of the protocols of this class is also present in the given candidates list.
      candidates - the candidates to match against
      secure - whether the protocol should be a secure one
      whether one of the protocols of this class is present in the candidates
    • upgrade

      public void upgrade(EndPoint endPoint, Map<String,Object> context)