| Modifier and Type | Field and Description |
|---|---|
| private final boolean | |
| private boolean | |
| pack-priv long | |
| private final UTF8Output | |
| private final long |
| Access | Constructor and Description |
|---|---|
| public | BufferedTextMessage(long
The maximum message size maxMessageSize, boolean If the complete message should be buffered bufferFullMessage)
|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| public String | |
| public boolean | |
| public void | |
| public void |
| bufferFullMessage | back to summary |
|---|---|
| private final boolean bufferFullMessage | |
| complete | back to summary |
|---|---|
| private boolean complete | |
| currentSize | back to summary |
|---|---|
| pack-priv long currentSize | |
| data | back to summary |
|---|---|
| private final UTF8Output data | |
| maxMessageSize | back to summary |
|---|---|
| private final long maxMessageSize | |
| BufferedTextMessage | back to summary |
|---|---|
public BufferedTextMessage(long maxMessageSize, boolean bufferFullMessage)
| |
| BufferedTextMessage | back to summary |
|---|---|
| public BufferedTextMessage(boolean bufferFullMessage) | |
| checkMaxSize | back to summary |
|---|---|
| private void checkMaxSize(StreamSourceFrameChannel channel, int res) throws IOException | |
| getData | back to summary |
|---|---|
| public String getData() Gets the buffered data and clears the buffered text message. If this is not called on a UTF8 character boundary there may be partial code point data that is still buffered.
| |
| isComplete | back to summary |
|---|---|
| public boolean isComplete() | |
| read | back to summary |
|---|---|
| public void read(final StreamSourceFrameChannel channel, final WebSocketCallback<BufferedTextMessage> callback) | |
| readBlocking | back to summary |
|---|---|
| public void readBlocking(StreamSourceFrameChannel channel) throws IOException | |