Class ServerHttpProtocolNegotiationStarter
- java.lang.Object
-
- org.apache.hc.core5.http2.impl.nio.ServerHttpProtocolNegotiationStarter
-
- All Implemented Interfaces:
org.apache.hc.core5.reactor.IOEventHandlerFactory
@Contract(threading=IMMUTABLE_CONDITIONAL) @Internal public class ServerHttpProtocolNegotiationStarter extends java.lang.Object implements org.apache.hc.core5.reactor.IOEventHandlerFactoryServer I/O event starter that prepares I/O sessions for an initial protocol handshake. This class may return a differentIOEventHandlerimplementation based on the current HTTP version policy.- Since:
- 5.1
-
-
Constructor Summary
Constructors Constructor Description ServerHttpProtocolNegotiationStarter(org.apache.hc.core5.http.impl.nio.ServerHttp1StreamDuplexerFactory http1StreamHandlerFactory, ServerH2StreamMultiplexerFactory http2StreamHandlerFactory, HttpVersionPolicy versionPolicy, org.apache.hc.core5.http.nio.ssl.TlsStrategy tlsStrategy, org.apache.hc.core5.util.Timeout handshakeTimeout, org.apache.hc.core5.function.Callback<java.lang.Exception> exceptionCallback)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.hc.core5.http.impl.nio.HttpConnectionEventHandlercreateHandler(org.apache.hc.core5.reactor.ProtocolIOSession ioSession, java.lang.Object attachment)
-
-
-
Constructor Detail
-
ServerHttpProtocolNegotiationStarter
public ServerHttpProtocolNegotiationStarter(org.apache.hc.core5.http.impl.nio.ServerHttp1StreamDuplexerFactory http1StreamHandlerFactory, ServerH2StreamMultiplexerFactory http2StreamHandlerFactory, HttpVersionPolicy versionPolicy, org.apache.hc.core5.http.nio.ssl.TlsStrategy tlsStrategy, org.apache.hc.core5.util.Timeout handshakeTimeout, org.apache.hc.core5.function.Callback<java.lang.Exception> exceptionCallback)
-
-