Package org.apache.hc.core5.testing.nio
Class InternalClientHttp1EventHandlerFactory
java.lang.Object
org.apache.hc.core5.testing.nio.InternalClientHttp1EventHandlerFactory
- All Implemented Interfaces:
IOEventHandlerFactory
@Contract(threading=IMMUTABLE)
class InternalClientHttp1EventHandlerFactory
extends Object
implements IOEventHandlerFactory
- Since:
- 5.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final CharCodingConfig
private final ConnectionReuseStrategy
private final Http1Config
private final HttpProcessor
private final NHttpMessageWriterFactory
<HttpRequest> private final NHttpMessageParserFactory
<HttpResponse> private final SSLContext
private final SSLSessionInitializer
private final SSLSessionVerifier
-
Constructor Summary
ConstructorsConstructorDescriptionInternalClientHttp1EventHandlerFactory
(HttpProcessor httpProcessor, Http1Config http1Config, CharCodingConfig charCodingConfig, ConnectionReuseStrategy connectionReuseStrategy, SSLContext sslContext, SSLSessionInitializer sslSessionInitializer, SSLSessionVerifier sslSessionVerifier) -
Method Summary
Modifier and TypeMethodDescriptionprotected ClientHttp1StreamDuplexer
createClientHttp1StreamDuplexer
(ProtocolIOSession ioSession, HttpProcessor httpProcessor, Http1Config http1Config, CharCodingConfig charCodingConfig, ConnectionReuseStrategy connectionReuseStrategy, NHttpMessageParser<HttpResponse> incomingMessageParser, NHttpMessageWriter<HttpRequest> outgoingMessageWriter, ContentLengthStrategy incomingContentStrategy, ContentLengthStrategy outgoingContentStrategy, Http1StreamListener streamListener) createHandler
(ProtocolIOSession ioSession, Object attachment)
-
Field Details
-
httpProcessor
-
http1Config
-
charCodingConfig
-
connectionReuseStrategy
-
sslContext
-
sslSessionInitializer
-
sslSessionVerifier
-
responseParserFactory
-
requestWriterFactory
-
-
Constructor Details
-
InternalClientHttp1EventHandlerFactory
InternalClientHttp1EventHandlerFactory(HttpProcessor httpProcessor, Http1Config http1Config, CharCodingConfig charCodingConfig, ConnectionReuseStrategy connectionReuseStrategy, SSLContext sslContext, SSLSessionInitializer sslSessionInitializer, SSLSessionVerifier sslSessionVerifier)
-
-
Method Details
-
createClientHttp1StreamDuplexer
protected ClientHttp1StreamDuplexer createClientHttp1StreamDuplexer(ProtocolIOSession ioSession, HttpProcessor httpProcessor, Http1Config http1Config, CharCodingConfig charCodingConfig, ConnectionReuseStrategy connectionReuseStrategy, NHttpMessageParser<HttpResponse> incomingMessageParser, NHttpMessageWriter<HttpRequest> outgoingMessageWriter, ContentLengthStrategy incomingContentStrategy, ContentLengthStrategy outgoingContentStrategy, Http1StreamListener streamListener) -
createHandler
- Specified by:
createHandler
in interfaceIOEventHandlerFactory
-