Top Fields Constructors Methods
org.apache.hc.client5.http.impl.async

pack-priv Class HttpAsyncClientProtocolNegotiationStarter

extends Object
implements IOEventHandlerFactory
Class Inheritance
All Implemented Interfaces
org.apache.hc.core5.reactor.IOEventHandlerFactory
Imports
java.io.IOException, java.util.Iterator, .List, org.apache.hc.client5.http.impl.DefaultClientConnectionReuseStrategy, org.apache.hc.core5.http.ConnectionReuseStrategy, .Header, .HttpConnection, .HttpRequest, .HttpResponse, org.apache.hc.core5.http.config.CharCodingConfig, .Http1Config, org.apache.hc.core5.http.impl.Http1StreamListener, org.apache.hc.core5.http.impl.nio.ClientHttp1IOEventHandler, .ClientHttp1StreamDuplexerFactory, .DefaultHttpRequestWriterFactory, .DefaultHttpResponseParserFactory, org.apache.hc.core5.http.message.RequestLine, .StatusLine, org.apache.hc.core5.http.nio.AsyncPushConsumer, .HandlerFactory, .NHttpMessageParserFactory, .NHttpMessageWriterFactory, org.apache.hc.core5.http.protocol.HttpProcessor, org.apache.hc.core5.http2.HttpVersionPolicy, org.apache.hc.core5.http2.config.H2Config, org.apache.hc.core5.http2.frame.FramePrinter, .RawFrame, org.apache.hc.core5.http2.impl.nio.ClientH2PrefaceHandler, .ClientH2StreamMultiplexerFactory, .ClientH2UpgradeHandler, .ClientHttp1UpgradeHandler, .H2StreamListener, .HttpProtocolNegotiator, org.apache.hc.core5.http2.ssl.ApplicationProtocol, org.apache.hc.core5.reactor.IOEventHandler, .IOEventHandlerFactory, .ProtocolIOSession, org.apache.hc.core5.util.Args, org.slf4j.Logger, .LoggerFactory

Field Summary

Modifier and TypeField and Description
private final CharCodingConfig
private final HandlerFactory<AsyncPushConsumer>
private static final Logger
private static final Logger
private static final Logger
private final Http1Config
private final H2Config
private static final Logger
private final ConnectionReuseStrategy
private final NHttpMessageWriterFactory<HttpRequest>
private final NHttpMessageParserFactory<HttpResponse>
private final HttpProcessor
private static final Logger

Constructor Summary

AccessConstructor and Description
pack-priv
HttpAsyncClientProtocolNegotiationStarter(final HttpProcessor httpProcessor, final HandlerFactory<AsyncPushConsumer> exchangeHandlerFactory, final H2Config h2Config, final Http1Config h1Config, final CharCodingConfig charCodingConfig, final ConnectionReuseStrategy connectionReuseStrategy)

Method Summary

Modifier and TypeMethod and Description
public IOEventHandler
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

charCodingConfigback to summary
private final CharCodingConfig charCodingConfig
exchangeHandlerFactoryback to summary
private final HandlerFactory<AsyncPushConsumer> exchangeHandlerFactory
FLOW_CTRL_LOGback to summary
private static final Logger FLOW_CTRL_LOG
FRAME_LOGback to summary
private static final Logger FRAME_LOG
FRAME_PAYLOAD_LOGback to summary
private static final Logger FRAME_PAYLOAD_LOG
h1Configback to summary
private final Http1Config h1Config
h2Configback to summary
private final H2Config h2Config
HEADER_LOGback to summary
private static final Logger HEADER_LOG
http1ConnectionReuseStrategyback to summary
private final ConnectionReuseStrategy http1ConnectionReuseStrategy
http1RequestWriterFactoryback to summary
private final NHttpMessageWriterFactory<HttpRequest> http1RequestWriterFactory
http1ResponseParserFactoryback to summary
private final NHttpMessageParserFactory<HttpResponse> http1ResponseParserFactory
httpProcessorback to summary
private final HttpProcessor httpProcessor
STREAM_LOGback to summary
private static final Logger STREAM_LOG

Constructor Detail

HttpAsyncClientProtocolNegotiationStarterback to summary
pack-priv HttpAsyncClientProtocolNegotiationStarter(final HttpProcessor httpProcessor, final HandlerFactory<AsyncPushConsumer> exchangeHandlerFactory, final H2Config h2Config, final Http1Config h1Config, final CharCodingConfig charCodingConfig, final ConnectionReuseStrategy connectionReuseStrategy)

Method Detail

createHandlerback to summary
public IOEventHandler createHandler(final ProtocolIOSession ioSession, final Object attachment)

Implements org.apache.hc.core5.reactor.IOEventHandlerFactory.createHandler.

Annotations
@Override