Class JsrBasicRemote
java.lang.Object
org.eclipse.jetty.websocket.jsr356.AbstractJsrRemote
org.eclipse.jetty.websocket.jsr356.JsrBasicRemote
- All Implemented Interfaces:
javax.websocket.RemoteEndpoint, javax.websocket.RemoteEndpoint.Basic
public class JsrBasicRemote
extends AbstractJsrRemote
implements javax.websocket.RemoteEndpoint.Basic
-
Nested Class Summary
Nested classes/interfaces inherited from interface javax.websocket.RemoteEndpoint
javax.websocket.RemoteEndpoint.Async, javax.websocket.RemoteEndpoint.Basic -
Field Summary
FieldsFields inherited from class AbstractJsrRemote
encoders, jettyRemote, session -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsendBinary(ByteBuffer data) voidsendBinary(ByteBuffer partialByte, boolean isLast) voidsendObject(Object data) voidvoidMethods inherited from class AbstractJsrRemote
assertMessageNotNull, assertSendHandlerNotNull, flushBatch, getBatchingAllowed, sendObjectViaFuture, sendPing, sendPong, setBatchingAllowedMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface javax.websocket.RemoteEndpoint
flushBatch, getBatchingAllowed, sendPing, sendPong, setBatchingAllowed
-
Field Details
-
LOG
private static final org.eclipse.jetty.util.log.Logger LOG
-
-
Constructor Details
-
JsrBasicRemote
-
-
Method Details
-
getSendStream
- Specified by:
getSendStreamin interfacejavax.websocket.RemoteEndpoint.Basic- Throws:
IOException
-
getSendWriter
- Specified by:
getSendWriterin interfacejavax.websocket.RemoteEndpoint.Basic- Throws:
IOException
-
sendBinary
- Specified by:
sendBinaryin interfacejavax.websocket.RemoteEndpoint.Basic- Throws:
IOException
-
sendBinary
- Specified by:
sendBinaryin interfacejavax.websocket.RemoteEndpoint.Basic- Throws:
IOException
-
sendObject
- Specified by:
sendObjectin interfacejavax.websocket.RemoteEndpoint.Basic- Throws:
IOExceptionjavax.websocket.EncodeException
-
sendText
- Specified by:
sendTextin interfacejavax.websocket.RemoteEndpoint.Basic- Throws:
IOException
-
sendText
- Specified by:
sendTextin interfacejavax.websocket.RemoteEndpoint.Basic- Throws:
IOException
-