Top Description Fields Constructors Methods
org.apache.hc.core5.http.impl.nio

public final Class ServerHttp1StreamDuplexerFactory

extends Object
Class Inheritance
Annotations
@Contract
threading:IMMUTABLE_CONDITIONAL
@Internal
Imports
org.apache.hc.core5.annotation.Contract, .Internal, .ThreadingBehavior, org.apache.hc.core5.http.ConnectionReuseStrategy, .ContentLengthStrategy, .HttpRequest, .HttpResponse, org.apache.hc.core5.http.config.CharCodingConfig, .Http1Config, org.apache.hc.core5.http.impl.DefaultConnectionReuseStrategy, .DefaultContentLengthStrategy, .Http1StreamListener, org.apache.hc.core5.http.nio.AsyncServerExchangeHandler, .HandlerFactory, .NHttpMessageParserFactory, .NHttpMessageWriterFactory, org.apache.hc.core5.http.protocol.HttpProcessor, org.apache.hc.core5.reactor.ProtocolIOSession, org.apache.hc.core5.util.Args

ServerHttp1StreamDuplexer factory.
Since
5.0

Field Summary

Modifier and TypeField and Description
private final CharCodingConfig
private final ConnectionReuseStrategy
private final HandlerFactory<AsyncServerExchangeHandler>
private final Http1Config
private final HttpProcessor
private final ContentLengthStrategy
private final ContentLengthStrategy
private final NHttpMessageParserFactory<HttpRequest>
private final NHttpMessageWriterFactory<HttpResponse>
private final Http1StreamListener

Constructor Summary

AccessConstructor and Description
public
ServerHttp1StreamDuplexerFactory(final HttpProcessor httpProcessor, final HandlerFactory<AsyncServerExchangeHandler> exchangeHandlerFactory, final Http1Config http1Config, final CharCodingConfig charCodingConfig, final ConnectionReuseStrategy connectionReuseStrategy, final NHttpMessageParserFactory<HttpRequest> requestParserFactory, final NHttpMessageWriterFactory<HttpResponse> responseWriterFactory, final ContentLengthStrategy incomingContentStrategy, final ContentLengthStrategy outgoingContentStrategy, final Http1StreamListener streamListener)

public
ServerHttp1StreamDuplexerFactory(final HttpProcessor httpProcessor, final HandlerFactory<AsyncServerExchangeHandler> exchangeHandlerFactory, final Http1Config http1Config, final CharCodingConfig charCodingConfig, final ConnectionReuseStrategy connectionReuseStrategy, final NHttpMessageParserFactory<HttpRequest> requestParserFactory, final NHttpMessageWriterFactory<HttpResponse> responseWriterFactory, final Http1StreamListener streamListener)

public
ServerHttp1StreamDuplexerFactory(final HttpProcessor httpProcessor, final HandlerFactory<AsyncServerExchangeHandler> exchangeHandlerFactory, final Http1Config http1Config, final CharCodingConfig charCodingConfig, final Http1StreamListener streamListener)

Method Summary

Modifier and TypeMethod and Description
public ServerHttp1StreamDuplexer
create(final String scheme, final ProtocolIOSession ioSession)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

charCodingConfigback to summary
private final CharCodingConfig charCodingConfig
connectionReuseStrategyback to summary
private final ConnectionReuseStrategy connectionReuseStrategy
exchangeHandlerFactoryback to summary
private final HandlerFactory<AsyncServerExchangeHandler> exchangeHandlerFactory
http1Configback to summary
private final Http1Config http1Config
httpProcessorback to summary
private final HttpProcessor httpProcessor
incomingContentStrategyback to summary
private final ContentLengthStrategy incomingContentStrategy
outgoingContentStrategyback to summary
private final ContentLengthStrategy outgoingContentStrategy
requestParserFactoryback to summary
private final NHttpMessageParserFactory<HttpRequest> requestParserFactory
responseWriterFactoryback to summary
private final NHttpMessageWriterFactory<HttpResponse> responseWriterFactory
streamListenerback to summary
private final Http1StreamListener streamListener

Constructor Detail

ServerHttp1StreamDuplexerFactoryback to summary
public ServerHttp1StreamDuplexerFactory(final HttpProcessor httpProcessor, final HandlerFactory<AsyncServerExchangeHandler> exchangeHandlerFactory, final Http1Config http1Config, final CharCodingConfig charCodingConfig, final ConnectionReuseStrategy connectionReuseStrategy, final NHttpMessageParserFactory<HttpRequest> requestParserFactory, final NHttpMessageWriterFactory<HttpResponse> responseWriterFactory, final ContentLengthStrategy incomingContentStrategy, final ContentLengthStrategy outgoingContentStrategy, final Http1StreamListener streamListener)
ServerHttp1StreamDuplexerFactoryback to summary
public ServerHttp1StreamDuplexerFactory(final HttpProcessor httpProcessor, final HandlerFactory<AsyncServerExchangeHandler> exchangeHandlerFactory, final Http1Config http1Config, final CharCodingConfig charCodingConfig, final ConnectionReuseStrategy connectionReuseStrategy, final NHttpMessageParserFactory<HttpRequest> requestParserFactory, final NHttpMessageWriterFactory<HttpResponse> responseWriterFactory, final Http1StreamListener streamListener)
ServerHttp1StreamDuplexerFactoryback to summary
public ServerHttp1StreamDuplexerFactory(final HttpProcessor httpProcessor, final HandlerFactory<AsyncServerExchangeHandler> exchangeHandlerFactory, final Http1Config http1Config, final CharCodingConfig charCodingConfig, final Http1StreamListener streamListener)

Method Detail

createback to summary
public ServerHttp1StreamDuplexer create(final String scheme, final ProtocolIOSession ioSession)