public class AcceptHash extends Object
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.
Constructor and Description |
---|
AcceptHash() |
Modifier and Type | Method and Description |
---|---|
static String |
hashKey(String key)
Concatenate the provided key with the Magic GUID and return the Base64 encoded form.
|
Copyright © 1995-2015 Webtide. All Rights Reserved.