Http2ConnectionCommon

io.quartz.http2.Http2ConnectionCommon
trait Http2ConnectionCommon(val INITIAL_WINDOW_SIZE: Int, val globalBytesOfPendingInboundData: Ref[Long], val globalInboundWindow: Ref[Long], val globalTransmitWindow: Ref[Long], val outq: Queue[ByteBuffer], val hSem2: Semaphore)

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Members list

Value members

Abstract methods

def getStream(id: Int): Option[Http2StreamCommon]

Concrete methods

protected def dataFrame(sts: Http2Settings, streamId: Int, endStream: Boolean, data: ByteBuffer): Seq[ByteBuffer]

Generate stream data frame(s) for the specified data

Generate stream data frame(s) for the specified data

If the data exceeds the peers MAX_FRAME_SIZE setting, it is fragmented into a series of frames.

Attributes

protected def headerFrame(streamId: Int, settings: Http2Settings, priority: Priority, endStream: Boolean, headerEncoder: HeaderEncoder, headers: Headers): Seq[ByteBuffer]

Generate stream header frames from the provided header sequence

Generate stream header frames from the provided header sequence

If the compressed representation of the headers exceeds the MAX_FRAME_SIZE setting of the peer, it will be broken into a HEADERS frame and a series of CONTINUATION frames.

Attributes

protected def sendDataFrame(streamId: Int, bb: => ByteBuffer): Task[Unit]
def sendFrame(b: ByteBuffer): UIO[Boolean]
protected def takeSlice(buf: ByteBuffer, len: Int): ByteBuffer

Concrete fields

val globalInboundWindow: Ref[Long]
val globalTransmitWindow: Ref[Long]
val hSem2: Semaphore
val outq: Queue[ByteBuffer]