Class JakartaWebSocketAsyncRemote

java.lang.Object
org.eclipse.jetty.ee10.websocket.jakarta.common.JakartaWebSocketRemoteEndpoint
org.eclipse.jetty.ee10.websocket.jakarta.common.JakartaWebSocketAsyncRemote
All Implemented Interfaces:
jakarta.websocket.RemoteEndpoint, jakarta.websocket.RemoteEndpoint.Async, OutgoingFrames

public class JakartaWebSocketAsyncRemote extends JakartaWebSocketRemoteEndpoint implements jakarta.websocket.RemoteEndpoint.Async
  • Constructor Details

  • Method Details

    • getSendTimeout

      public long getSendTimeout()
      Specified by:
      getSendTimeout in interface jakarta.websocket.RemoteEndpoint.Async
    • setSendTimeout

      public void setSendTimeout(long timeoutmillis)
      Specified by:
      setSendTimeout in interface jakarta.websocket.RemoteEndpoint.Async
    • sendBinary

      public Future<Void> sendBinary(ByteBuffer data)
      Specified by:
      sendBinary in interface jakarta.websocket.RemoteEndpoint.Async
    • sendBinary

      public void sendBinary(ByteBuffer data, jakarta.websocket.SendHandler handler)
      Specified by:
      sendBinary in interface jakarta.websocket.RemoteEndpoint.Async
    • sendObject

      public Future<Void> sendObject(Object data)
      Specified by:
      sendObject in interface jakarta.websocket.RemoteEndpoint.Async
    • sendObject

      public void sendObject(Object data, jakarta.websocket.SendHandler handler)
      Specified by:
      sendObject in interface jakarta.websocket.RemoteEndpoint.Async
    • sendText

      public Future<Void> sendText(String text)
      Specified by:
      sendText in interface jakarta.websocket.RemoteEndpoint.Async
    • sendText

      public void sendText(String text, jakarta.websocket.SendHandler handler)
      Specified by:
      sendText in interface jakarta.websocket.RemoteEndpoint.Async