Class ServerHttp1IOEventHandlerFactory
- java.lang.Object
-
- org.apache.hc.core5.http.impl.nio.ServerHttp1IOEventHandlerFactory
-
- All Implemented Interfaces:
IOEventHandlerFactory
@Contract(threading=IMMUTABLE_CONDITIONAL) public class ServerHttp1IOEventHandlerFactory extends java.lang.Object implements IOEventHandlerFactory
ServerHttp1IOEventHandler
factory.- Since:
- 5.0
-
-
Field Summary
Fields Modifier and Type Field Description private Timeout
handshakeTimeout
private ServerHttp1StreamDuplexerFactory
streamDuplexerFactory
private TlsStrategy
tlsStrategy
-
Constructor Summary
Constructors Constructor Description ServerHttp1IOEventHandlerFactory(ServerHttp1StreamDuplexerFactory streamDuplexerFactory, TlsStrategy tlsStrategy, Timeout handshakeTimeout)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IOEventHandler
createHandler(ProtocolIOSession ioSession, java.lang.Object attachment)
-
-
-
Field Detail
-
streamDuplexerFactory
private final ServerHttp1StreamDuplexerFactory streamDuplexerFactory
-
tlsStrategy
private final TlsStrategy tlsStrategy
-
handshakeTimeout
private final Timeout handshakeTimeout
-
-
Constructor Detail
-
ServerHttp1IOEventHandlerFactory
public ServerHttp1IOEventHandlerFactory(ServerHttp1StreamDuplexerFactory streamDuplexerFactory, TlsStrategy tlsStrategy, Timeout handshakeTimeout)
-
-
Method Detail
-
createHandler
public IOEventHandler createHandler(ProtocolIOSession ioSession, java.lang.Object attachment)
- Specified by:
createHandler
in interfaceIOEventHandlerFactory
-
-