public class ExtensionRequestParser
extends java.lang.Object
The relevant ABNF for the Sec-WebSocket-Extensions is as follows:
extension-list = 1#extension
extension = extension-token *( ";" extension-param )
extension-token = registered-token
registered-token = token
extension-param = token [ "=" (token | quoted-string) ]
; When using the quoted-string syntax variant, the value
; after quoted-string unescaping MUST conform to the
; 'token' ABNF.
The limiting of parameter values to tokens or "quoted tokens" makes
the parsing of the header significantly simpler and allows a number
of short-cuts to be taken.