org.http4s.blaze.http.http2

Members list

Type members

Classlikes

case class DataFrame(endStream: Boolean, data: ByteBuffer) extends StreamFrame

Data frame for http2

Data frame for http2

Value parameters

data

actual stream data. The ByteBuffer indexes may be modified by the receiver. The ByteBuffer indexes are considered owned by this DataFrame, but its data must not be modified.

endStream

if this is the last message of the stream

Attributes

Source
StreamFrame.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait StreamFrame
class Object
trait Matchable
class Any
Show all
final class DefaultFlowStrategy(localSettings: Http2Settings) extends FlowStrategy

Attributes

Source
DefaultFlowStrategy.scala
Supertypes
trait FlowStrategy
class Object
trait Matchable
class Any
trait FlowStrategy

FlowStrategy advises a session when to send window updates

FlowStrategy advises a session when to send window updates

A FlowStrategy will be shared among many sessions.

Attributes

Companion
object
Source
FlowStrategy.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object FlowStrategy

Attributes

Companion
trait
Source
FlowStrategy.scala
Supertypes
class Object
trait Matchable
class Any
Self type
class HeaderEncoder(initialMaxTableSize: Int)

HTTP/2 HPACK header encoder

HTTP/2 HPACK header encoder

Value parameters

initialMaxTableSize

maximum HPACK table size the peer will allow.

Attributes

Source
HeaderEncoder.scala
Supertypes
class Object
trait Matchable
class Any
case class HeadersFrame(priority: Priority, endStream: Boolean, headers: Headers) extends StreamFrame

Headers frame for http2

Headers frame for http2

Value parameters

endStream

signal if this is the last frame of the stream

headers

attached headers

priority

priority of this stream

Attributes

Source
StreamFrame.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait StreamFrame
class Object
trait Matchable
class Any
Show all
sealed abstract class Http2Exception(msg: String) extends Exception, NoStackTrace, Product, Serializable

Attributes

Companion
object
Source
Http2Exception.scala
Supertypes
trait Product
trait Equals
trait NoStackTrace
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
Known subtypes

Attributes

Companion
class
Source
Http2Exception.scala
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
final case class Http2SessionException(code: Long, msg: String) extends Http2Exception

Attributes

Source
Http2Exception.scala
Supertypes
trait Product
trait Equals
trait NoStackTrace
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
sealed abstract class Http2Settings

A bundle of HTTP2 settings

A bundle of HTTP2 settings

These represent the HTTP2 settings for either the client or server.

Attributes

See also

https://tools.ietf.org/html/rfc7540#section-6.5.2, where the doc strings were obtained.

Companion
object
Source
Http2Settings.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Http2Settings

Attributes

Companion
class
Source
Http2Settings.scala
Supertypes
class Object
trait Matchable
class Any
Self type
final case class Http2StreamException(stream: Int, code: Long, msg: String) extends Http2Exception

Attributes

Source
Http2Exception.scala
Supertypes
trait Product
trait Equals
trait NoStackTrace
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
case class ImmutableHttp2Settings(headerTableSize: Int, initialWindowSize: Int, pushEnabled: Boolean, maxConcurrentStreams: Int, maxFrameSize: Int, maxHeaderListSize: Int) extends Http2Settings

Immutable representation of Http2Settings for configuring clients and servers

Immutable representation of Http2Settings for configuring clients and servers

Attributes

Source
Http2Settings.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
abstract class PriorKnowledgeHandshaker[T](localSettings: ImmutableHttp2Settings) extends TailStage[ByteBuffer]

Base type for performing the HTTP/2 prior knowledge handshake

Base type for performing the HTTP/2 prior knowledge handshake

Attributes

Source
PriorKnowledgeHandshaker.scala
Supertypes
trait Tail[ByteBuffer]
trait Stage
class Object
trait Matchable
class Any
Show all
Known subtypes
sealed trait Priority

Attributes

Companion
object
Source
Priority.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Dependent
object NoPriority.type
object Priority

Attributes

Companion
trait
Source
Priority.scala
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
Priority.type
object PseudoHeaders

HTTP/2 pseudo headers

HTTP/2 pseudo headers

Attributes

Source
PseudoHeaders.scala
Supertypes
class Object
trait Matchable
class Any
Self type
abstract class SessionFlowControl

Flow control representation of a Http2 Session

Flow control representation of a Http2 Session

Attributes

Source
SessionFlowControl.scala
Supertypes
class Object
trait Matchable
class Any
abstract class StreamFlowWindow

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 StreamFlowWindow provides the tools for tracking the flow window for both the individual stream and the session that it belongs to.

Attributes

Source
StreamFlowWindow.scala
Supertypes
class Object
trait Matchable
class Any
sealed trait StreamFrame

Types that will be sent down to the Nodes of the Http2 session

Types that will be sent down to the Nodes of the Http2 session

Attributes

Source
StreamFrame.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class DataFrame
class HeadersFrame