| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public OutputStream | |
| public Writer | |
| public void | sendBinary(ByteBuffer
The binary message to send data)Implements jakarta. Send the message, blocking until the message is sent. |
| public void | sendBinary(ByteBuffer
The partial message to send partialByte, boolean true if this is the last part of the message, otherwise falseImplements jakarta. Sends part of a binary message to the remote endpoint. |
| public void | sendObject(Object
The object to be sent. o)Implements jakarta. Encodes object as a message and sends it to the remote endpoint. |
| public void | sendText(String
The text message to send. text)Implements jakarta. Send the message, blocking until the message is sent. |
| public void | sendText(String
The partial message to send fragment, boolean true if this is the last part of the message, otherwise falseImplements jakarta. Sends part of a text message to the remote endpoint. |
| WsRemoteEndpointBasic | back to summary |
|---|---|
| pack-priv WsRemoteEndpointBasic(WsRemoteEndpointImplBase base) | |
| getSendStream | back to summary |
|---|---|
| public OutputStream getSendStream() throws IOException Implements jakarta.
| |
| getSendWriter | back to summary |
|---|---|
| public Writer getSendWriter() throws IOException Implements jakarta.
| |
| sendBinary | back to summary |
|---|---|
| public void sendBinary(ByteBuffer data) throws IOException Implements jakarta. Doc from jakarta. Send the message, blocking until the message is sent.
| |
| sendBinary | back to summary |
|---|---|
| public void sendBinary(ByteBuffer partialByte, boolean isLast) throws IOException Implements jakarta. Doc from jakarta. Sends part of a binary message to the remote endpoint. Once the first part of a message has been sent, no other text or binary messages may be sent until all remaining parts of this message have been sent.
| |
| sendObject | back to summary |
|---|---|
| public void sendObject(Object o) throws IOException, EncodeException Implements jakarta. Doc from jakarta. Encodes object as a message and sends it to the remote endpoint.
| |
| sendText | back to summary |
|---|---|
| public void sendText(String text) throws IOException Implements jakarta. Doc from jakarta. Send the message, blocking until the message is sent.
| |
| sendText | back to summary |
|---|---|
| public void sendText(String fragment, boolean isLast) throws IOException Implements jakarta. Doc from jakarta. Sends part of a text message to the remote endpoint. Once the first part of a message has been sent, no other text or binary messages may be sent until all remaining parts of this message have been sent.
| |