| Modifier and Type | Method and Description |
|---|---|
Protocol |
getProtocol()
The protocol as selected using ALPN.
|
FrameReader |
newReader(BufferedSource source,
boolean client) |
FrameWriter |
newWriter(BufferedSink sink,
boolean client) |
Protocol getProtocol()
FrameReader newReader(BufferedSource source, boolean client)
client - true if this is the HTTP client's reader, reading frames from a server.FrameWriter newWriter(BufferedSink sink, boolean client)
client - true if this is the HTTP client's writer, writing frames to a server.