public class AcceptHash
extends java.lang.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 | Description |
|---|---|
AcceptHash() |
| Modifier and Type | Method | Description |
|---|---|---|
static java.lang.String |
hashKey(java.lang.String key) |
Concatenate the provided key with the Magic GUID and return the Base64 encoded form.
|
Copyright © 1995–2018 Webtide. All rights reserved.