Class HttpAsyncClientProtocolNegotiationStarter
java.lang.Object
org.apache.hc.client5.http.impl.async.HttpAsyncClientProtocolNegotiationStarter
- All Implemented Interfaces:
org.apache.hc.core5.reactor.IOEventHandlerFactory
class HttpAsyncClientProtocolNegotiationStarter
extends Object
implements org.apache.hc.core5.reactor.IOEventHandlerFactory
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final org.apache.hc.core5.http.config.CharCodingConfigprivate final org.apache.hc.core5.http.nio.HandlerFactory<org.apache.hc.core5.http.nio.AsyncPushConsumer> private static final org.slf4j.Loggerprivate static final org.slf4j.Loggerprivate static final org.slf4j.Loggerprivate final org.apache.hc.core5.http.config.Http1Configprivate final org.apache.hc.core5.http2.config.H2Configprivate static final org.slf4j.Loggerprivate final org.apache.hc.core5.http.ConnectionReuseStrategyprivate final org.apache.hc.core5.http.nio.NHttpMessageWriterFactory<org.apache.hc.core5.http.HttpRequest> private final org.apache.hc.core5.http.nio.NHttpMessageParserFactory<org.apache.hc.core5.http.HttpResponse> private final org.apache.hc.core5.http.protocol.HttpProcessorprivate static final org.slf4j.Logger -
Constructor Summary
ConstructorsConstructorDescriptionHttpAsyncClientProtocolNegotiationStarter(org.apache.hc.core5.http.protocol.HttpProcessor httpProcessor, org.apache.hc.core5.http.nio.HandlerFactory<org.apache.hc.core5.http.nio.AsyncPushConsumer> exchangeHandlerFactory, org.apache.hc.core5.http2.config.H2Config h2Config, org.apache.hc.core5.http.config.Http1Config h1Config, org.apache.hc.core5.http.config.CharCodingConfig charCodingConfig, org.apache.hc.core5.http.ConnectionReuseStrategy connectionReuseStrategy) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.hc.core5.reactor.IOEventHandlercreateHandler(org.apache.hc.core5.reactor.ProtocolIOSession ioSession, Object attachment)
-
Field Details
-
STREAM_LOG
private static final org.slf4j.Logger STREAM_LOG -
HEADER_LOG
private static final org.slf4j.Logger HEADER_LOG -
FRAME_LOG
private static final org.slf4j.Logger FRAME_LOG -
FRAME_PAYLOAD_LOG
private static final org.slf4j.Logger FRAME_PAYLOAD_LOG -
FLOW_CTRL_LOG
private static final org.slf4j.Logger FLOW_CTRL_LOG -
httpProcessor
private final org.apache.hc.core5.http.protocol.HttpProcessor httpProcessor -
exchangeHandlerFactory
private final org.apache.hc.core5.http.nio.HandlerFactory<org.apache.hc.core5.http.nio.AsyncPushConsumer> exchangeHandlerFactory -
h2Config
private final org.apache.hc.core5.http2.config.H2Config h2Config -
h1Config
private final org.apache.hc.core5.http.config.Http1Config h1Config -
charCodingConfig
private final org.apache.hc.core5.http.config.CharCodingConfig charCodingConfig -
http1ConnectionReuseStrategy
private final org.apache.hc.core5.http.ConnectionReuseStrategy http1ConnectionReuseStrategy -
http1ResponseParserFactory
private final org.apache.hc.core5.http.nio.NHttpMessageParserFactory<org.apache.hc.core5.http.HttpResponse> http1ResponseParserFactory -
http1RequestWriterFactory
private final org.apache.hc.core5.http.nio.NHttpMessageWriterFactory<org.apache.hc.core5.http.HttpRequest> http1RequestWriterFactory
-
-
Constructor Details
-
HttpAsyncClientProtocolNegotiationStarter
HttpAsyncClientProtocolNegotiationStarter(org.apache.hc.core5.http.protocol.HttpProcessor httpProcessor, org.apache.hc.core5.http.nio.HandlerFactory<org.apache.hc.core5.http.nio.AsyncPushConsumer> exchangeHandlerFactory, org.apache.hc.core5.http2.config.H2Config h2Config, org.apache.hc.core5.http.config.Http1Config h1Config, org.apache.hc.core5.http.config.CharCodingConfig charCodingConfig, org.apache.hc.core5.http.ConnectionReuseStrategy connectionReuseStrategy)
-
-
Method Details
-
createHandler
public org.apache.hc.core5.reactor.IOEventHandler createHandler(org.apache.hc.core5.reactor.ProtocolIOSession ioSession, Object attachment) - Specified by:
createHandlerin interfaceorg.apache.hc.core5.reactor.IOEventHandlerFactory
-