Interface Variant
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ProtocolgetProtocol()The protocol as selected using ALPN.FrameReadernewReader(BufferedSource source, boolean client)FrameWriternewWriter(BufferedSink sink, boolean client)
-
-
-
Method Detail
-
getProtocol
Protocol getProtocol()
The protocol as selected using ALPN.
-
newReader
FrameReader newReader(BufferedSource source, boolean client)
- Parameters:
client- true if this is the HTTP client's reader, reading frames from a server.
-
newWriter
FrameWriter newWriter(BufferedSink sink, boolean client)
- Parameters:
client- true if this is the HTTP client's writer, writing frames to a server.
-
-