| Modifier and Type | Class and Description |
|---|---|
| pack-priv static enum |
| Modifier and Type | Field and Description |
|---|---|
| private final ByteBuffer | |
| private final byte[] | |
| private int | |
| private final int | |
| private final BasicH2TransportMetrics | |
| private int | |
| private FrameInputBuffer. | |
| private int | |
| private int |
| Access | Constructor and Description |
|---|---|
| pack-priv | FrameInputBuffer(final BasicH2TransportMetrics metrics, final int bufferLen, final int maxFramePayloadSize)
|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public H2TransportMetrics | |
| public void | |
| public RawFrame | Returns: a complete frame ornull a complete frame cannot be read.the source buffer or src, final ReadableByteChannel null if not available.the underlying data channel. channel)Attempts to read a complete frame from the given source buffer and the underlying data channel. |
| public RawFrame | read(final ReadableByteChannel
the underlying data channel. channel)Attempts to read a complete frame from the underlying data channel. |
| public void |
| buffer | back to summary |
|---|---|
| private final ByteBuffer buffer | |
| bytes | back to summary |
|---|---|
| private final byte[] bytes | |
| flags | back to summary |
|---|---|
| private int flags | |
| maxFramePayloadSize | back to summary |
|---|---|
| private final int maxFramePayloadSize | |
| metrics | back to summary |
|---|---|
| private final BasicH2TransportMetrics metrics | |
| payloadLen | back to summary |
|---|---|
| private int payloadLen | |
| state | back to summary |
|---|---|
| private FrameInputBuffer. | |
| streamId | back to summary |
|---|---|
| private int streamId | |
| type | back to summary |
|---|---|
| private int type | |
| FrameInputBuffer | back to summary |
|---|---|
| pack-priv FrameInputBuffer(final BasicH2TransportMetrics metrics, final int bufferLen, final int maxFramePayloadSize) | |
| FrameInputBuffer | back to summary |
|---|---|
| public FrameInputBuffer(final BasicH2TransportMetrics metrics, final int maxFramePayloadSize) | |
| FrameInputBuffer | back to summary |
|---|---|
| public FrameInputBuffer(final int maxFramePayloadSize) | |
| getMetrics | back to summary |
|---|---|
| public H2TransportMetrics getMetrics() | |
| put | back to summary |
|---|---|
| public void put(final ByteBuffer src)
Deprecated
| |
| read | back to summary |
|---|---|
| public RawFrame read(final ByteBuffer src, final ReadableByteChannel channel) throws IOException Attempts to read a complete frame from the given source buffer and the underlying data channel. The source buffer is consumed first. More data can be read from the channel if required.
| |
| read | back to summary |
|---|---|
| public RawFrame read(final ReadableByteChannel channel) throws IOException Attempts to read a complete frame from the underlying data channel.
| |
| reset | back to summary |
|---|---|
| public void reset() | |
| Modifier and Type | Field and Description |
|---|---|
| public static final FrameInputBuffer. | |
| public static final FrameInputBuffer. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static FrameInputBuffer. | |
| public static FrameInputBuffer. |
| HEAD_EXPECTED | back to summary |
|---|---|
| public static final FrameInputBuffer. | |
| PAYLOAD_EXPECTED | back to summary |
|---|---|
| public static final FrameInputBuffer. | |
| State | back to summary |
|---|---|
| private State() | |
| valueOf | back to summary |
|---|---|
| public static FrameInputBuffer. | |
| values | back to summary |
|---|---|
| public static FrameInputBuffer. | |