Class AcceptHash
java.lang.Object
org.eclipse.jetty.websocket.common.AcceptHash
Logic for working with the
Sec-WebSocket-Key and Sec-WebSocket-Accept headers.
This is kept separate from Connection objects to facilitate difference in behavior between client and server, as well as making testing easier.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final byte[]Globally Unique Identifier for use in WebSocket handshake withinSec-WebSocket-AcceptandSec-WebSocket-Keyhttp headers. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
MAGIC
private static final byte[] MAGICGlobally Unique Identifier for use in WebSocket handshake withinSec-WebSocket-AcceptandSec-WebSocket-Keyhttp headers.
-
-
Constructor Details
-
AcceptHash
public AcceptHash()
-
-
Method Details
-
hashKey
-