Class HandshakeRFC6455

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int VERSION
      RFC 6455 - Sec-WebSocket-Version
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void doHandshakeResponse​(org.eclipse.jetty.websocket.servlet.ServletUpgradeRequest request, org.eclipse.jetty.websocket.servlet.ServletUpgradeResponse response)
      Formulate a WebSocket upgrade handshake response.
      • Methods inherited from class java.lang.Object

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

      • VERSION

        public static final int VERSION
        RFC 6455 - Sec-WebSocket-Version
        See Also:
        Constant Field Values
    • Constructor Detail

      • HandshakeRFC6455

        public HandshakeRFC6455()
    • Method Detail

      • doHandshakeResponse

        public void doHandshakeResponse​(org.eclipse.jetty.websocket.servlet.ServletUpgradeRequest request,
                                        org.eclipse.jetty.websocket.servlet.ServletUpgradeResponse response)
                                 throws java.io.IOException
        Description copied from interface: WebSocketHandshake
        Formulate a WebSocket upgrade handshake response.
        Specified by:
        doHandshakeResponse in interface WebSocketHandshake
        Parameters:
        request - the request
        response - the response
        Throws:
        java.io.IOException - if unable to handshake