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 java.lang.Object implements IOEventHandlerFactory
- Since:
- 5.0
-
-
Field Summary
Fields Modifier and Type Field Description private CharCodingConfigcharCodingConfigprivate ConnectionReuseStrategyconnectionReuseStrategyprivate Http1Confighttp1Configprivate HttpProcessorhttpProcessorprivate NHttpMessageWriterFactory<HttpRequest>requestWriterFactoryprivate NHttpMessageParserFactory<HttpResponse>responseParserFactoryprivate javax.net.ssl.SSLContextsslContextprivate SSLSessionInitializersslSessionInitializerprivate SSLSessionVerifiersslSessionVerifier
-
Constructor Summary
Constructors Constructor Description InternalClientHttp1EventHandlerFactory(HttpProcessor httpProcessor, Http1Config http1Config, CharCodingConfig charCodingConfig, ConnectionReuseStrategy connectionReuseStrategy, javax.net.ssl.SSLContext sslContext, SSLSessionInitializer sslSessionInitializer, SSLSessionVerifier sslSessionVerifier)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ClientHttp1StreamDuplexercreateClientHttp1StreamDuplexer(ProtocolIOSession ioSession, HttpProcessor httpProcessor, Http1Config http1Config, CharCodingConfig charCodingConfig, ConnectionReuseStrategy connectionReuseStrategy, NHttpMessageParser<HttpResponse> incomingMessageParser, NHttpMessageWriter<HttpRequest> outgoingMessageWriter, ContentLengthStrategy incomingContentStrategy, ContentLengthStrategy outgoingContentStrategy, Http1StreamListener streamListener)IOEventHandlercreateHandler(ProtocolIOSession ioSession, java.lang.Object attachment)
-
-
-
Field Detail
-
httpProcessor
private final HttpProcessor httpProcessor
-
http1Config
private final Http1Config http1Config
-
charCodingConfig
private final CharCodingConfig charCodingConfig
-
connectionReuseStrategy
private final ConnectionReuseStrategy connectionReuseStrategy
-
sslContext
private final javax.net.ssl.SSLContext sslContext
-
sslSessionInitializer
private final SSLSessionInitializer sslSessionInitializer
-
sslSessionVerifier
private final SSLSessionVerifier sslSessionVerifier
-
responseParserFactory
private final NHttpMessageParserFactory<HttpResponse> responseParserFactory
-
requestWriterFactory
private final NHttpMessageWriterFactory<HttpRequest> requestWriterFactory
-
-
Constructor Detail
-
InternalClientHttp1EventHandlerFactory
InternalClientHttp1EventHandlerFactory(HttpProcessor httpProcessor, Http1Config http1Config, CharCodingConfig charCodingConfig, ConnectionReuseStrategy connectionReuseStrategy, javax.net.ssl.SSLContext sslContext, SSLSessionInitializer sslSessionInitializer, SSLSessionVerifier sslSessionVerifier)
-
-
Method Detail
-
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
public IOEventHandler createHandler(ProtocolIOSession ioSession, java.lang.Object attachment)
- Specified by:
createHandlerin interfaceIOEventHandlerFactory
-
-