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 java.lang.Object implements IOEventHandlerFactory
- Since:
- 5.0
-
-
Field Summary
Fields Modifier and Type Field Description private CharCodingConfig
charCodingConfig
private ConnectionReuseStrategy
connectionReuseStrategy
private HandlerFactory<AsyncServerExchangeHandler>
exchangeHandlerFactory
private Http1Config
http1Config
private HttpProcessor
httpProcessor
private NHttpMessageParserFactory<HttpRequest>
requestParserFactory
private NHttpMessageWriterFactory<HttpResponse>
responseWriterFactory
private javax.net.ssl.SSLContext
sslContext
private SSLSessionInitializer
sslSessionInitializer
private SSLSessionVerifier
sslSessionVerifier
-
Constructor Summary
Constructors Constructor Description InternalServerHttp1EventHandlerFactory(HttpProcessor httpProcessor, HandlerFactory<AsyncServerExchangeHandler> exchangeHandlerFactory, 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 IOEventHandler
createHandler(ProtocolIOSession ioSession, java.lang.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 Detail
-
httpProcessor
private final HttpProcessor httpProcessor
-
exchangeHandlerFactory
private final HandlerFactory<AsyncServerExchangeHandler> exchangeHandlerFactory
-
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
-
requestParserFactory
private final NHttpMessageParserFactory<HttpRequest> requestParserFactory
-
responseWriterFactory
private final NHttpMessageWriterFactory<HttpResponse> responseWriterFactory
-
-
Constructor Detail
-
InternalServerHttp1EventHandlerFactory
InternalServerHttp1EventHandlerFactory(HttpProcessor httpProcessor, HandlerFactory<AsyncServerExchangeHandler> exchangeHandlerFactory, Http1Config http1Config, CharCodingConfig charCodingConfig, ConnectionReuseStrategy connectionReuseStrategy, javax.net.ssl.SSLContext sslContext, SSLSessionInitializer sslSessionInitializer, SSLSessionVerifier sslSessionVerifier)
-
-
Method Detail
-
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
public IOEventHandler createHandler(ProtocolIOSession ioSession, java.lang.Object attachment)
- Specified by:
createHandler
in interfaceIOEventHandlerFactory
-
-