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 java.lang.Object implements org.apache.hc.core5.reactor.IOEventHandlerFactory
-
-
Field Summary
Fields Modifier and Type Field Description private org.apache.hc.core5.http.config.CharCodingConfig
charCodingConfig
private org.apache.hc.core5.http.nio.HandlerFactory<org.apache.hc.core5.http.nio.AsyncPushConsumer>
exchangeHandlerFactory
private static org.slf4j.Logger
FLOW_CTRL_LOG
private static org.slf4j.Logger
FRAME_LOG
private static org.slf4j.Logger
FRAME_PAYLOAD_LOG
private org.apache.hc.core5.http.config.Http1Config
h1Config
private org.apache.hc.core5.http2.config.H2Config
h2Config
private static org.slf4j.Logger
HEADER_LOG
private org.apache.hc.core5.http.ConnectionReuseStrategy
http1ConnectionReuseStrategy
private org.apache.hc.core5.http.nio.NHttpMessageWriterFactory<org.apache.hc.core5.http.HttpRequest>
http1RequestWriterFactory
private org.apache.hc.core5.http.nio.NHttpMessageParserFactory<org.apache.hc.core5.http.HttpResponse>
http1ResponseParserFactory
private org.apache.hc.core5.http.protocol.HttpProcessor
httpProcessor
private static org.slf4j.Logger
STREAM_LOG
-
Constructor Summary
Constructors Constructor Description 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 Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.hc.core5.reactor.IOEventHandler
createHandler(org.apache.hc.core5.reactor.ProtocolIOSession ioSession, java.lang.Object attachment)
-
-
-
Field Detail
-
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 Detail
-
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)
-
-