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
ServerHttp1StreamDuplexer
factory.- 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 ContentLengthStrategy
incomingContentStrategy
private ContentLengthStrategy
outgoingContentStrategy
private NHttpMessageParserFactory<HttpRequest>
requestParserFactory
private NHttpMessageWriterFactory<HttpResponse>
responseWriterFactory
private Http1StreamListener
streamListener
-
Constructor Summary
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ServerHttp1StreamDuplexer
create(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)
-
-