| Interface | Description |
|---|---|
| PushObserver |
HTTP/2 only. |
| Class | Description |
|---|---|
| Header |
HTTP header: the name is an ASCII string, but the value can be UTF-8.
|
| 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.
|
| Http2Server |
A basic HTTP/2 server that serves the contents of a local directory.
|
| Http2Stream |
A logical bidirectional stream.
|
| 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.
|
Copyright © 2017. All Rights Reserved.