Adding WebSocket headers to HttpHeader
This commit is contained in:
parent
14b638f8f7
commit
45de46191b
|
@ -100,6 +100,15 @@ public enum HttpHeader
|
||||||
VARY("Vary"),
|
VARY("Vary"),
|
||||||
WWW_AUTHENTICATE("WWW-Authenticate"),
|
WWW_AUTHENTICATE("WWW-Authenticate"),
|
||||||
|
|
||||||
|
/* ------------------------------------------------------------ */
|
||||||
|
/** WebSocket Fields.
|
||||||
|
*/
|
||||||
|
SEC_WEBSOCKET_KEY("Sec-WebSocket-Key"),
|
||||||
|
SEC_WEBSOCKET_VERSION("Sec-WebSocket-Version"),
|
||||||
|
SEC_WEBSOCKET_EXTENSIONS("Sec-WebSocket-Extensions"),
|
||||||
|
SEC_WEBSOCKET_SUBPROTOCOL("Sec-WebSocket-Protocol"),
|
||||||
|
SEC_WEBSOCKET_ACCEPT("Sec-WebSocket-Accept"),
|
||||||
|
|
||||||
/* ------------------------------------------------------------ */
|
/* ------------------------------------------------------------ */
|
||||||
/** Other Fields.
|
/** Other Fields.
|
||||||
*/
|
*/
|
||||||
|
@ -125,7 +134,7 @@ public enum HttpHeader
|
||||||
|
|
||||||
|
|
||||||
/* ------------------------------------------------------------ */
|
/* ------------------------------------------------------------ */
|
||||||
public final static Trie<HttpHeader> CACHE= new ArrayTrie<>(530);
|
public final static Trie<HttpHeader> CACHE= new ArrayTrie<>(630);
|
||||||
static
|
static
|
||||||
{
|
{
|
||||||
for (HttpHeader header : HttpHeader.values())
|
for (HttpHeader header : HttpHeader.values())
|
||||||
|
|
Loading…
Reference in New Issue