Class JettyWebSocketAdapter.JettyWebSocketAdapterImpl

  • All Implemented Interfaces:
    org.eclipse.jetty.websocket.api.WebSocketConnectionListener, org.eclipse.jetty.websocket.api.WebSocketListener
    Enclosing class:
    JettyWebSocketAdapter

    private class JettyWebSocketAdapter.JettyWebSocketAdapterImpl
    extends org.eclipse.jetty.websocket.api.WebSocketAdapter
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void onWebSocketBinary​(byte[] data, int offset, int length)  
      void onWebSocketClose​(int statusCode, java.lang.String reason)  
      void onWebSocketConnect​(org.eclipse.jetty.websocket.api.Session session)  
      void onWebSocketError​(java.lang.Throwable cause)  
      void onWebSocketText​(java.lang.String message)  
      • Methods inherited from class org.eclipse.jetty.websocket.api.WebSocketAdapter

        getRemote, getSession, isConnected, isNotConnected
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • JettyWebSocketAdapterImpl

        JettyWebSocketAdapterImpl()
    • Method Detail

      • onWebSocketConnect

        public void onWebSocketConnect​(org.eclipse.jetty.websocket.api.Session session)
        Specified by:
        onWebSocketConnect in interface org.eclipse.jetty.websocket.api.WebSocketConnectionListener
        Overrides:
        onWebSocketConnect in class org.eclipse.jetty.websocket.api.WebSocketAdapter
      • onWebSocketClose

        public void onWebSocketClose​(int statusCode,
                                     java.lang.String reason)
        Specified by:
        onWebSocketClose in interface org.eclipse.jetty.websocket.api.WebSocketConnectionListener
        Overrides:
        onWebSocketClose in class org.eclipse.jetty.websocket.api.WebSocketAdapter
      • onWebSocketText

        public void onWebSocketText​(java.lang.String message)
        Specified by:
        onWebSocketText in interface org.eclipse.jetty.websocket.api.WebSocketListener
        Overrides:
        onWebSocketText in class org.eclipse.jetty.websocket.api.WebSocketAdapter
      • onWebSocketBinary

        public void onWebSocketBinary​(byte[] data,
                                      int offset,
                                      int length)
        Specified by:
        onWebSocketBinary in interface org.eclipse.jetty.websocket.api.WebSocketListener
        Overrides:
        onWebSocketBinary in class org.eclipse.jetty.websocket.api.WebSocketAdapter
      • onWebSocketError

        public void onWebSocketError​(java.lang.Throwable cause)
        Specified by:
        onWebSocketError in interface org.eclipse.jetty.websocket.api.WebSocketConnectionListener
        Overrides:
        onWebSocketError in class org.eclipse.jetty.websocket.api.WebSocketAdapter