| Modifier and Type | Class and Description |
|---|---|
| private static class | BufferedBinaryMessage.
References Deprecated
Pooled is deprecated or references (maybe indirectly) at least one deprecated element.
|
| Modifier and Type | Field and Description |
|---|---|
| private final boolean | |
| private boolean | |
| private PooledByteBuffer | |
| private long | |
| private List | |
| private final long |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| private void | |
| public Pooled | |
| public boolean | |
| public void | read(final StreamSourceFrameChannel channel, final WebSocketCallback<BufferedBinaryMessage> callback)
|
| public void |
| bufferFullMessage | back to summary |
|---|---|
| private final boolean bufferFullMessage | |
| complete | back to summary |
|---|---|
| private boolean complete | |
| current | back to summary |
|---|---|
| private PooledByteBuffer current | |
| currentSize | back to summary |
|---|---|
| private long currentSize | |
| data | back to summary |
|---|---|
| private List<PooledByteBuffer> data | |
| maxMessageSize | back to summary |
|---|---|
| private final long maxMessageSize | |
| BufferedBinaryMessage | back to summary |
|---|---|
| public BufferedBinaryMessage(long maxMessageSize, boolean bufferFullMessage) | |
| BufferedBinaryMessage | back to summary |
|---|---|
| public BufferedBinaryMessage(boolean bufferFullMessage) | |
| checkMaxSize | back to summary |
|---|---|
| private void checkMaxSize(StreamSourceFrameChannel channel, int res) throws IOException | |
| dealWithFullBuffer | back to summary |
|---|---|
| private void dealWithFullBuffer(StreamSourceFrameChannel channel) | |
| getData | back to summary |
|---|---|
| public Pooled References Deprecated
See corresponding docs for further information. | |
| isComplete | back to summary |
|---|---|
| public boolean isComplete() | |
| read | back to summary |
|---|---|
| public void read(final StreamSourceFrameChannel channel, final WebSocketCallback<BufferedBinaryMessage> callback) | |
| readBlocking | back to summary |
|---|---|
| public void readBlocking(StreamSourceFrameChannel channel) throws IOException | |
References Deprecated
Pooled is deprecated or references (maybe indirectly) at least one deprecated element.
See corresponding docs for further information.
| Modifier and Type | Field and Description |
|---|---|
| private final ByteBuffer[] | |
| private final List |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | |
| public void | |
| public ByteBuffer[] |
| data | back to summary |
|---|---|
| private final ByteBuffer[] data | |
| pooled | back to summary |
|---|---|
| private final List<PooledByteBuffer> pooled | |
| PooledByteBufferArray | back to summary |
|---|---|
| private PooledByteBufferArray(List<PooledByteBuffer> pooled, ByteBuffer[] data) | |
| close | back to summary |
|---|---|
| public void close() Implements org. Doc from org. Delegates to
| |
| discard | back to summary |
|---|---|
| public void discard() Implements org. Doc from org. Discard this resource. Any backing resources corresponding to this pooled resource will be rendered unavailable until the pooled resource has been garbage-collected.
| |
| free | back to summary |
|---|---|
| public void free() Implements org. Doc from org. Free this resource for immediate re-use. The resource must not be accessed again after
calling this method; if it is possible that an instance is still in use, you must call
| |
| getResource | back to summary |
|---|---|
| public ByteBuffer[] getResource() throws IllegalStateException Implements org. Doc from org. Get the pooled resource.
| |