| Modifier and Type | Field and Description |
|---|---|
| private final byte[] |
| Access | Constructor and Description |
|---|---|
| pack-priv | |
| public | NewTokenFrame(final ByteBuffer tokenBuf)
Outgoing NEW_TOKEN frame whose token is the given ByteBuffer (position to limit) |
| Modifier and Type | Method and Description |
|---|---|
| public void | encode(final ByteBuffer buffer)
Implements abstract jdk. Encode this QUIC Frame into given ByteBuffer |
| public int | size()
Implements abstract jdk. Returns the minimum number of bytes needed to encode this frame. |
| public byte[] |
| token | back to summary |
|---|---|
| private final byte[] token | |
| NewTokenFrame | back to summary |
|---|---|
| pack-priv NewTokenFrame(ByteBuffer buffer, int type) throws QuicTransportException Incoming NEW_TOKEN frame
| |
| NewTokenFrame | back to summary |
|---|---|
| public NewTokenFrame(final ByteBuffer tokenBuf) Outgoing NEW_TOKEN frame whose token is the given ByteBuffer (position to limit) | |
| encode | back to summary |
|---|---|
| public void encode(final ByteBuffer buffer) Implements abstract jdk. Doc from jdk. Encode this QUIC Frame into given ByteBuffer
| |
| size | back to summary |
|---|---|
| public int size() Implements abstract jdk. Doc from jdk. Returns the minimum number of bytes needed to encode this frame.
| |
| token | back to summary |
|---|---|
| public byte[] token() | |