public final class Http2 extends Objectimplements Variant
This implementation assumes we do not send an increased frame size setting to the peer. Hence, we expect all frames to have a max length of INITIAL_MAX_FRAME_SIZE.
http://tools.ietf.org/html/draft-ietf-httpbis-http2-17
| Constructor and Description |
|---|
Http2()
|
| Modifier and Type | Method and Description |
|---|---|
Protocol |
getProtocol()
The protocol as selected using ALPN.
|
FrameReader |
newReader(okio
Creates a frame reader with max header table size of 4096 and data frame compression disabled.
|
FrameWriter |
newWriter(okio
|
public ProtocolgetProtocol()
Variant
public FrameReadernewReader(okio .BufferedSource source, boolean client)
public FrameWriternewWriter(okio .BufferedSink sink, boolean client)