Package dev.relism.flash.http2
Class Http2Connection
java.lang.Object
dev.relism.flash.http2.Http2Connection
- All Implemented Interfaces:
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongintintvoidrun(ConnectionContext ctx) Runs this connection to completion.
-
Constructor Details
-
Http2Connection
public Http2Connection() -
Http2Connection
-
-
Method Details
-
run
Description copied from interface:ConnectionProtocolRuns this connection to completion. Returns when the connection should be closed.- Specified by:
runin interfaceConnectionProtocol- Throws:
IOException
-
peerSettings
-
connectionSendWindow
public long connectionSendWindow() -
peerLastStreamId
public int peerLastStreamId() -
peerErrorCode
public int peerErrorCode()
-