Class WebSocketServer.EchoSocket

  • Enclosing class:
    WebSocketServer

    @WebSocket
    public static class WebSocketServer.EchoSocket
    extends java.lang.Object
    Example of a Jetty API WebSocket Echo Socket
    • Constructor Summary

      Constructors 
      Constructor Description
      EchoSocket()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void onMessage​(Session session, java.lang.String message)  
      • Methods inherited from class java.lang.Object

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

      • EchoSocket

        public EchoSocket()