Class WebSocketCore

java.lang.Object
org.eclipse.jetty.websocket.core.internal.WebSocketCore

public final class WebSocketCore extends Object
  • Constructor Details

    • WebSocketCore

      public WebSocketCore()
  • Method Details

    • hashKey

      public static String hashKey(String key)
      Concatenate the provided key with the Magic GUID and return the Base64 encoded form.
      Parameters:
      key - the key to hash
      Returns:
      the Sec-WebSocket-Accept header response (per opening handshake spec)