public class JsrBasicRemote extends AbstractJsrRemote implements javax.websocket.RemoteEndpoint.Basic
encoders, jettyRemote, session| Modifier | Constructor and Description |
|---|---|
protected |
JsrBasicRemote(JsrSession session) |
| Modifier and Type | Method and Description |
|---|---|
OutputStream |
getSendStream() |
Writer |
getSendWriter() |
void |
sendBinary(ByteBuffer data) |
void |
sendBinary(ByteBuffer partialByte,
boolean isLast) |
void |
sendObject(Object data) |
void |
sendText(String text) |
void |
sendText(String partialMessage,
boolean isLast) |
assertMessageNotNull, assertSendHandlerNotNull, flushBatch, getBatchingAllowed, sendObjectViaFuture, sendPing, sendPong, setBatchingAllowedprotected JsrBasicRemote(JsrSession session)
public OutputStream getSendStream() throws IOException
getSendStream in interface javax.websocket.RemoteEndpoint.BasicIOExceptionpublic Writer getSendWriter() throws IOException
getSendWriter in interface javax.websocket.RemoteEndpoint.BasicIOExceptionpublic void sendBinary(ByteBuffer data) throws IOException
sendBinary in interface javax.websocket.RemoteEndpoint.BasicIOExceptionpublic void sendBinary(ByteBuffer partialByte, boolean isLast) throws IOException
sendBinary in interface javax.websocket.RemoteEndpoint.BasicIOExceptionpublic void sendObject(Object data) throws IOException, javax.websocket.EncodeException
sendObject in interface javax.websocket.RemoteEndpoint.BasicIOExceptionjavax.websocket.EncodeExceptionpublic void sendText(String text) throws IOException
sendText in interface javax.websocket.RemoteEndpoint.BasicIOExceptionpublic void sendText(String partialMessage, boolean isLast) throws IOException
sendText in interface javax.websocket.RemoteEndpoint.BasicIOExceptionCopyright © 1995–2017 Webtide. All rights reserved.