@Contract(threading=IMMUTABLE_CONDITIONAL) @Internal public class ServerHttpProtocolNegotiationStarter extends Object implements IOEventHandlerFactory
IOEventHandler
implementation based on the current HTTP version policy.Constructor and Description |
---|
ServerHttpProtocolNegotiationStarter(ServerHttp1StreamDuplexerFactory http1StreamHandlerFactory,
ServerH2StreamMultiplexerFactory http2StreamHandlerFactory,
HttpVersionPolicy versionPolicy,
TlsStrategy tlsStrategy,
Timeout handshakeTimeout) |
Modifier and Type | Method and Description |
---|---|
HttpConnectionEventHandler |
createHandler(ProtocolIOSession ioSession,
Object attachment) |
public ServerHttpProtocolNegotiationStarter(ServerHttp1StreamDuplexerFactory http1StreamHandlerFactory, ServerH2StreamMultiplexerFactory http2StreamHandlerFactory, HttpVersionPolicy versionPolicy, TlsStrategy tlsStrategy, Timeout handshakeTimeout)
public HttpConnectionEventHandler createHandler(ProtocolIOSession ioSession, Object attachment)
createHandler
in interface IOEventHandlerFactory
Copyright © 2005–2021 The Apache Software Foundation. All rights reserved.