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