Class JettyWebSocketTransport

All Implemented Interfaces:
ServerTransport, Transport, org.eclipse.jetty.util.component.Dumpable

public class JettyWebSocketTransport
extends AbstractWebSocketTransport<org.eclipse.jetty.websocket.api.Session>
  • Constructor Details

  • Method Details

    • init

      public void init()
      Description copied from class: AbstractServerTransport
      Initializes the transport, resolving default and direct options.
      Overrides:
      init in class AbstractWebSocketTransport<org.eclipse.jetty.websocket.api.Session>
    • modifyUpgrade

      protected void modifyUpgrade​(org.eclipse.jetty.websocket.servlet.ServletUpgradeRequest request, org.eclipse.jetty.websocket.servlet.ServletUpgradeResponse response)
    • checkOrigin

      protected boolean checkOrigin​(org.eclipse.jetty.websocket.servlet.ServletUpgradeRequest request, String origin)
    • send

      protected void send​(org.eclipse.jetty.websocket.api.Session wsSession, ServerSession session, String data, org.eclipse.jetty.util.Callback callback)
      Specified by:
      send in class AbstractWebSocketTransport<org.eclipse.jetty.websocket.api.Session>