Class JavaxWebSocketBasicRemote

java.lang.Object
org.eclipse.jetty.websocket.javax.common.JavaxWebSocketRemoteEndpoint
org.eclipse.jetty.websocket.javax.common.JavaxWebSocketBasicRemote
All Implemented Interfaces:
javax.websocket.RemoteEndpoint, javax.websocket.RemoteEndpoint.Basic, OutgoingFrames

public class JavaxWebSocketBasicRemote extends JavaxWebSocketRemoteEndpoint implements javax.websocket.RemoteEndpoint.Basic
  • Constructor Details

  • Method Details

    • getSendStream

      public OutputStream getSendStream() throws IOException
      Specified by:
      getSendStream in interface javax.websocket.RemoteEndpoint.Basic
      Throws:
      IOException
    • getSendWriter

      public Writer getSendWriter() throws IOException
      Specified by:
      getSendWriter in interface javax.websocket.RemoteEndpoint.Basic
      Throws:
      IOException
    • sendBinary

      public void sendBinary(ByteBuffer data) throws IOException
      Specified by:
      sendBinary in interface javax.websocket.RemoteEndpoint.Basic
      Throws:
      IOException
    • sendBinary

      public void sendBinary(ByteBuffer partialByte, boolean isLast) throws IOException
      Specified by:
      sendBinary in interface javax.websocket.RemoteEndpoint.Basic
      Throws:
      IOException
    • sendObject

      public void sendObject(Object data) throws IOException, javax.websocket.EncodeException
      Specified by:
      sendObject in interface javax.websocket.RemoteEndpoint.Basic
      Throws:
      IOException
      javax.websocket.EncodeException
    • sendText

      public void sendText(String text) throws IOException
      Specified by:
      sendText in interface javax.websocket.RemoteEndpoint.Basic
      Throws:
      IOException
    • sendText

      public void sendText(String partialMessage, boolean isLast) throws IOException
      Specified by:
      sendText in interface javax.websocket.RemoteEndpoint.Basic
      Throws:
      IOException