Class ClientHttp1IOEventHandlerFactory
- java.lang.Object
-
- org.apache.hc.core5.http.impl.nio.ClientHttp1IOEventHandlerFactory
-
- All Implemented Interfaces:
IOEventHandlerFactory
@Contract(threading=IMMUTABLE_CONDITIONAL) public class ClientHttp1IOEventHandlerFactory extends java.lang.Object implements IOEventHandlerFactory
ClientHttp1IOEventHandler
factory.- Since:
- 5.0
-
-
Field Summary
Fields Modifier and Type Field Description private Timeout
handshakeTimeout
private ClientHttp1StreamDuplexerFactory
streamDuplexerFactory
private TlsStrategy
tlsStrategy
-
Constructor Summary
Constructors Constructor Description ClientHttp1IOEventHandlerFactory(ClientHttp1StreamDuplexerFactory 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 ClientHttp1StreamDuplexerFactory streamDuplexerFactory
-
tlsStrategy
private final TlsStrategy tlsStrategy
-
handshakeTimeout
private final Timeout handshakeTimeout
-
-
Constructor Detail
-
ClientHttp1IOEventHandlerFactory
public ClientHttp1IOEventHandlerFactory(ClientHttp1StreamDuplexerFactory streamDuplexerFactory, TlsStrategy tlsStrategy, Timeout handshakeTimeout)
-
-
Method Detail
-
createHandler
public IOEventHandler createHandler(ProtocolIOSession ioSession, java.lang.Object attachment)
- Specified by:
createHandler
in interfaceIOEventHandlerFactory
-
-