Interface Http2ConnectionDecoder

    • Method Detail

      • lifecycleManager

        void lifecycleManager​(Http2LifecycleManager lifecycleManager)
        Sets the lifecycle manager. Must be called as part of initialization before the decoder is used.
      • connection

        Http2Connection connection()
        Provides direct access to the underlying connection.
      • flowController

        Http2LocalFlowController flowController()
        Provides the local flow controller for managing inbound traffic.
      • frameListener

        void frameListener​(Http2FrameListener listener)
        Set the Http2FrameListener which will be notified when frames are decoded.

        This must be set before frames are decoded.

      • localSettings

        Http2Settings localSettings()
        Gets the local settings for this endpoint of the HTTP/2 connection.
      • prefaceReceived

        boolean prefaceReceived()
        Indicates whether or not the first initial SETTINGS frame was received from the remote endpoint.
      • close

        void close()
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface java.io.Closeable