Class HTTP2CServerConnectionFactory

All Implemented Interfaces:
ConnectionFactory, ConnectionFactory.Upgrading, NegotiatingServerConnection.CipherDiscriminator, Container, Destroyable, Dumpable, Dumpable.DumpableContainer, LifeCycle

public class HTTP2CServerConnectionFactory extends HTTP2ServerConnectionFactory implements ConnectionFactory.Upgrading
HTTP2 Clear Text Connection factory.

This extension of HTTP2ServerConnection Factory sets the protocol name to "h2c" as used by the clear text upgrade mechanism for HTTP2 and marks all TLS ciphers as unacceptable.

If used in combination with a HttpConnectionFactory as the default protocol, this factory can support the non-standard direct update mechanism, where an HTTP1 request of the form "PRI * HTTP/2.0" is used to trigger a switch to an HTTP2 connection. This approach allows a single port to accept either HTTP/1 or HTTP/2 direct connections.