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 |
---|---|
java.io.OutputStream |
getSendStream() |
java.io.Writer |
getSendWriter() |
void |
sendBinary(java.nio.ByteBuffer data) |
void |
sendBinary(java.nio.ByteBuffer partialByte,
boolean isLast) |
void |
sendObject(java.lang.Object data) |
void |
sendText(java.lang.String text) |
void |
sendText(java.lang.String partialMessage,
boolean isLast) |
assertMessageNotNull, assertSendHandlerNotNull, flushBatch, getBatchingAllowed, sendObjectViaFuture, sendPing, sendPong, setBatchingAllowed
protected JsrBasicRemote(JsrSession session)
public java.io.OutputStream getSendStream() throws java.io.IOException
getSendStream
in interface javax.websocket.RemoteEndpoint.Basic
java.io.IOException
public java.io.Writer getSendWriter() throws java.io.IOException
getSendWriter
in interface javax.websocket.RemoteEndpoint.Basic
java.io.IOException
public void sendBinary(java.nio.ByteBuffer data) throws java.io.IOException
sendBinary
in interface javax.websocket.RemoteEndpoint.Basic
java.io.IOException
public void sendBinary(java.nio.ByteBuffer partialByte, boolean isLast) throws java.io.IOException
sendBinary
in interface javax.websocket.RemoteEndpoint.Basic
java.io.IOException
public void sendObject(java.lang.Object data) throws java.io.IOException, javax.websocket.EncodeException
sendObject
in interface javax.websocket.RemoteEndpoint.Basic
java.io.IOException
javax.websocket.EncodeException
public void sendText(java.lang.String text) throws java.io.IOException
sendText
in interface javax.websocket.RemoteEndpoint.Basic
java.io.IOException
public void sendText(java.lang.String partialMessage, boolean isLast) throws java.io.IOException
sendText
in interface javax.websocket.RemoteEndpoint.Basic
java.io.IOException
Copyright © 1995–2023 Webtide. All rights reserved.