Class ServerHttp1StreamDuplexerFactory
- java.lang.Object
-
- org.apache.hc.core5.http.impl.nio.ServerHttp1StreamDuplexerFactory
-
@Contract(threading=IMMUTABLE_CONDITIONAL) @Internal public final class ServerHttp1StreamDuplexerFactory extends java.lang.Object
ServerHttp1StreamDuplexerfactory.- Since:
- 5.0
-
-
Field Summary
Fields Modifier and Type Field Description private CharCodingConfigcharCodingConfigprivate ConnectionReuseStrategyconnectionReuseStrategyprivate HandlerFactory<AsyncServerExchangeHandler>exchangeHandlerFactoryprivate Http1Confighttp1Configprivate HttpProcessorhttpProcessorprivate ContentLengthStrategyincomingContentStrategyprivate ContentLengthStrategyoutgoingContentStrategyprivate NHttpMessageParserFactory<HttpRequest>requestParserFactoryprivate NHttpMessageWriterFactory<HttpResponse>responseWriterFactoryprivate Http1StreamListenerstreamListener
-
Constructor Summary
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ServerHttp1StreamDuplexercreate(java.lang.String scheme, ProtocolIOSession ioSession)
-
-
-
Field Detail
-
httpProcessor
private final HttpProcessor httpProcessor
-
exchangeHandlerFactory
private final HandlerFactory<AsyncServerExchangeHandler> exchangeHandlerFactory
-
connectionReuseStrategy
private final ConnectionReuseStrategy connectionReuseStrategy
-
http1Config
private final Http1Config http1Config
-
charCodingConfig
private final CharCodingConfig charCodingConfig
-
requestParserFactory
private final NHttpMessageParserFactory<HttpRequest> requestParserFactory
-
responseWriterFactory
private final NHttpMessageWriterFactory<HttpResponse> responseWriterFactory
-
incomingContentStrategy
private final ContentLengthStrategy incomingContentStrategy
-
outgoingContentStrategy
private final ContentLengthStrategy outgoingContentStrategy
-
streamListener
private final Http1StreamListener streamListener
-
-
Constructor Detail
-
ServerHttp1StreamDuplexerFactory
public ServerHttp1StreamDuplexerFactory(HttpProcessor httpProcessor, HandlerFactory<AsyncServerExchangeHandler> exchangeHandlerFactory, Http1Config http1Config, CharCodingConfig charCodingConfig, ConnectionReuseStrategy connectionReuseStrategy, NHttpMessageParserFactory<HttpRequest> requestParserFactory, NHttpMessageWriterFactory<HttpResponse> responseWriterFactory, ContentLengthStrategy incomingContentStrategy, ContentLengthStrategy outgoingContentStrategy, Http1StreamListener streamListener)
-
ServerHttp1StreamDuplexerFactory
public ServerHttp1StreamDuplexerFactory(HttpProcessor httpProcessor, HandlerFactory<AsyncServerExchangeHandler> exchangeHandlerFactory, Http1Config http1Config, CharCodingConfig charCodingConfig, ConnectionReuseStrategy connectionReuseStrategy, NHttpMessageParserFactory<HttpRequest> requestParserFactory, NHttpMessageWriterFactory<HttpResponse> responseWriterFactory, Http1StreamListener streamListener)
-
ServerHttp1StreamDuplexerFactory
public ServerHttp1StreamDuplexerFactory(HttpProcessor httpProcessor, HandlerFactory<AsyncServerExchangeHandler> exchangeHandlerFactory, Http1Config http1Config, CharCodingConfig charCodingConfig, Http1StreamListener streamListener)
-
-
Method Detail
-
create
public ServerHttp1StreamDuplexer create(java.lang.String scheme, ProtocolIOSession ioSession)
-
-