Class H2AsyncClientProtocolStarter
java.lang.Object
org.apache.hc.client5.http.impl.async.H2AsyncClientProtocolStarter
- All Implemented Interfaces:
org.apache.hc.core5.reactor.IOEventHandlerFactory
class H2AsyncClientProtocolStarter
extends Object
implements org.apache.hc.core5.reactor.IOEventHandlerFactory
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final org.apache.hc.core5.http.config.CharCodingConfig
private final org.apache.hc.core5.http.nio.HandlerFactory
<org.apache.hc.core5.http.nio.AsyncPushConsumer> private static final org.slf4j.Logger
private static final org.slf4j.Logger
private static final org.slf4j.Logger
private final org.apache.hc.core5.http2.config.H2Config
private static final org.slf4j.Logger
private final org.apache.hc.core5.http.protocol.HttpProcessor
-
Constructor Summary
ConstructorsConstructorDescriptionH2AsyncClientProtocolStarter
(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.CharCodingConfig charCodingConfig) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.hc.core5.reactor.IOEventHandler
createHandler
(org.apache.hc.core5.reactor.ProtocolIOSession ioSession, Object attachment)
-
Field Details
-
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 -
charCodingConfig
private final org.apache.hc.core5.http.config.CharCodingConfig charCodingConfig
-
-
Constructor Details
-
H2AsyncClientProtocolStarter
H2AsyncClientProtocolStarter(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.CharCodingConfig charCodingConfig)
-
-
Method Details
-
createHandler
public org.apache.hc.core5.reactor.IOEventHandler createHandler(org.apache.hc.core5.reactor.ProtocolIOSession ioSession, Object attachment) - Specified by:
createHandler
in interfaceorg.apache.hc.core5.reactor.IOEventHandlerFactory
-