|
WebSocket 1.0 - Apache Tomcat 7.0.47 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface RemoteEndpoint.Basic
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface javax.websocket.RemoteEndpoint |
---|
RemoteEndpoint.Async, RemoteEndpoint.Basic |
Method Summary | |
---|---|
java.io.OutputStream |
getSendStream()
|
java.io.Writer |
getSendWriter()
|
void |
sendBinary(java.nio.ByteBuffer data)
Send the message, blocking until the message is sent. |
void |
sendBinary(java.nio.ByteBuffer partialByte,
boolean isLast)
Sends part of a binary message to the remote endpoint. |
void |
sendObject(java.lang.Object o)
|
void |
sendText(java.lang.String text)
Send the message, blocking until the message is sent. |
void |
sendText(java.lang.String fragment,
boolean isLast)
Sends part of a text message to the remote endpoint. |
Methods inherited from interface javax.websocket.RemoteEndpoint |
---|
flushBatch, getBatchingAllowed, sendPing, sendPong, setBatchingAllowed |
Method Detail |
---|
void sendText(java.lang.String text) throws java.io.IOException
text
- The text message to send.
java.io.IOException
void sendBinary(java.nio.ByteBuffer data) throws java.io.IOException
data
- The binary message to send
java.io.IOException
void sendText(java.lang.String fragment, boolean isLast) throws java.io.IOException
fragment
- The partial message to sendisLast
- true
if this is the last part of the
message, otherwise false
java.io.IOException
void sendBinary(java.nio.ByteBuffer partialByte, boolean isLast) throws java.io.IOException
partialByte
- The partial message to sendisLast
- true
if this is the last part of the
message, otherwise false
java.io.IOException
java.io.OutputStream getSendStream() throws java.io.IOException
java.io.IOException
java.io.Writer getSendWriter() throws java.io.IOException
java.io.IOException
void sendObject(java.lang.Object o) throws java.io.IOException, EncodeException
java.io.IOException
EncodeException
|
WebSocket 1.0 - Apache Tomcat 7.0.47 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |