Class WebSocketImpl

java.lang.Object
org.noear.solon.net.websocket.WebSocketBase
org.noear.solon.net.websocket.WebSocketTimeoutBase
org.noear.solon.server.grizzly.websocket.WebSocketImpl
All Implemented Interfaces:
org.noear.solon.net.websocket.WebSocket

public class WebSocketImpl extends org.noear.solon.net.websocket.WebSocketTimeoutBase
Author:
noear 2025/9/25 created
  • Constructor Details

    • WebSocketImpl

      public WebSocketImpl(org.glassfish.grizzly.websockets.DefaultWebSocket real)
  • Method Details

    • buildUri

      public String buildUri(jakarta.servlet.http.HttpServletRequest req)
    • isValid

      public boolean isValid()
    • isSecure

      public boolean isSecure()
    • remoteAddress

      public InetSocketAddress remoteAddress()
    • localAddress

      public InetSocketAddress localAddress()
    • send

      public Future<Void> send(String text)
    • send

      public Future<Void> send(ByteBuffer binary)
    • close

      public void close()
      Specified by:
      close in interface org.noear.solon.net.websocket.WebSocket
      Overrides:
      close in class org.noear.solon.net.websocket.WebSocketBase