public final class WebSocketMessage
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
java.io.InputStream |
getInputStream()
Returns the input stream user can use to read the message from.
|
byte[] |
getWholeMessage()
Returns the whole incoming message.
|
java.lang.String |
getWholeTextMessage()
Returns the whole incoming text message.
|
boolean |
isText()
Returns true if the message is text.
|
public byte[] getWholeMessage() throws java.io.IOException
java.io.IOException
public java.lang.String getWholeTextMessage() throws java.io.IOException
java.io.IOException
public boolean isText()
public java.io.InputStream getInputStream()