Class JakartaWebSocketBasicRemote

java.lang.Object
org.eclipse.jetty.websocket.jakarta.common.JakartaWebSocketRemoteEndpoint
org.eclipse.jetty.websocket.jakarta.common.JakartaWebSocketBasicRemote
All Implemented Interfaces:
jakarta.websocket.RemoteEndpoint, jakarta.websocket.RemoteEndpoint.Basic, OutgoingFrames

public class JakartaWebSocketBasicRemote extends JakartaWebSocketRemoteEndpoint implements jakarta.websocket.RemoteEndpoint.Basic
  • Constructor Details

  • Method Details

    • getSendStream

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

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

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

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

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

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

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