| Interface | Description |
|---|---|
| Http2Reader.Handler | |
| PushObserver |
HTTP/2 only. |
| Class | Description |
|---|---|
| Header |
HTTP header: the name is an ASCII string, but the value can be UTF-8.
|
| Hpack |
Read and write HPACK v10.
|
| Hpack.Reader | |
| Hpack.Writer | |
| Http2 | |
| Http2Codec |
Encode requests and responses using HTTP/2 frames.
|
| Http2Connection |
A socket connection to a remote peer.
|
| Http2Connection.Builder | |
| Http2Connection.Listener |
Listener of streams and settings initiated by the peer.
|
| Http2Reader |
Reads HTTP/2 transport frames.
|
| Http2Reader.ContinuationSource |
Decompression of the header block occurs above the framing layer.
|
| Http2Stream |
A logical bidirectional stream.
|
| Http2Writer |
Writes HTTP/2 transport frames.
|
| Huffman |
This class was originally composed from the following classes in Twitter Hpack.
|
| Huffman.Node | |
| Settings |
Settings describe characteristics of the sending peer, which are used by the receiving peer.
|
| Enum | Description |
|---|---|
| ErrorCode |
| Exception | Description |
|---|---|
| ConnectionShutdownException |
Thrown when an HTTP/2 connection is shutdown (either explicitly or if the peer has sent a GOAWAY
frame) and an attempt is made to use the connection.
|
| StreamResetException |
Thrown when an HTTP/2 stream is canceled without damage to the socket that carries it.
|