Class H2AsyncClientProtocolStarter

  • All Implemented Interfaces:
    org.apache.hc.core5.reactor.IOEventHandlerFactory

    class H2AsyncClientProtocolStarter
    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.http2.config.H2Config h2Config  
      private static org.slf4j.Logger HEADER_LOG  
      private org.apache.hc.core5.http.protocol.HttpProcessor httpProcessor  
    • Constructor Summary

      Constructors 
      Constructor Description
      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 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)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • 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 Detail

      • 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 Detail

      • createHandler

        public org.apache.hc.core5.reactor.IOEventHandler createHandler​(org.apache.hc.core5.reactor.ProtocolIOSession ioSession,
                                                                        java.lang.Object attachment)
        Specified by:
        createHandler in interface org.apache.hc.core5.reactor.IOEventHandlerFactory