Class Http2Connection

java.lang.Object
dev.relism.flash.http2.Http2Connection
All Implemented Interfaces:
ConnectionProtocol

public final class Http2Connection extends Object implements ConnectionProtocol
Owns one HTTP/2 connection's demultiplexing and connection-level protocol state. The demux loop never invokes application code and never waits for a handler or body consumer; stream dispatch is handed to independent virtual threads by the stream layer.
  • Constructor Details

  • Method Details

    • run

      public void run(ConnectionContext ctx) throws IOException
      Description copied from interface: ConnectionProtocol
      Runs this connection to completion. Returns when the connection should be closed.
      Specified by:
      run in interface ConnectionProtocol
      Throws:
      IOException
    • peerSettings

      public Http2Settings peerSettings()
    • connectionSendWindow

      public long connectionSendWindow()
    • peerLastStreamId

      public int peerLastStreamId()
    • peerErrorCode

      public int peerErrorCode()