package http2
- Alphabetic
- Public
- Protected
Type Members
- case class DataFrame(endStream: Boolean, data: ByteBuffer) extends StreamFrame with Product with Serializable
Data frame for http2
Data frame for http2
- endStream
if this is the last message of the stream
- data
actual stream data. The
ByteBufferindexes may be modified by the receiver. TheByteBufferindexes are considered owned by this DataFrame, but its data must not be modified.
- final class DefaultFlowStrategy extends FlowStrategy
- trait FlowStrategy extends AnyRef
FlowStrategyadvises a session when to send window updatesFlowStrategyadvises a session when to send window updatesA
FlowStrategywill be shared among many sessions. - class HeaderEncoder extends AnyRef
HTTP/2 HPACK header encoder
- case class HeadersFrame(priority: Priority, endStream: Boolean, headers: Headers) extends StreamFrame with Product with Serializable
Headers frame for http2
Headers frame for http2
- priority
priority of this stream
- endStream
signal if this is the last frame of the stream
- headers
attached headers
- sealed abstract class Http2Exception extends Exception with NoStackTrace with Product with Serializable
- final case class Http2SessionException(code: Long, msg: String) extends Http2Exception with Product with Serializable
- sealed abstract class Http2Settings extends AnyRef
A bundle of HTTP2 settings
A bundle of HTTP2 settings
These represent the HTTP2 settings for either the client or server.
- See also
https://tools.ietf.org/html/rfc7540#section-6.5.2, where the doc strings were obtained.
- final case class Http2StreamException(stream: Int, code: Long, msg: String) extends Http2Exception with Product with Serializable
- case class ImmutableHttp2Settings(headerTableSize: Int, initialWindowSize: Int, pushEnabled: Boolean, maxConcurrentStreams: Int, maxFrameSize: Int, maxHeaderListSize: Int) extends Http2Settings with Product with Serializable
Immutable representation of Http2Settings for configuring clients and servers
- abstract class PriorKnowledgeHandshaker[T] extends TailStage[ByteBuffer]
Base type for performing the HTTP/2 prior knowledge handshake
- sealed trait Priority extends AnyRef
- abstract class SessionFlowControl extends AnyRef
Flow control representation of a Http2 Session
- abstract class StreamFlowWindow extends AnyRef
Representation of the flow control state of a stream belonging to a session
Representation of the flow control state of a stream belonging to a session
The
StreamFlowWindowprovides the tools for tracking the flow window for both the individual stream and the session that it belongs to. - sealed trait StreamFrame extends AnyRef
Types that will be sent down to the Nodes of the Http2 session
Value Members
- object FlowStrategy
- object Http2Exception extends Serializable
- object Http2Settings
- object Priority
- object PseudoHeaders
HTTP/2 pseudo headers