allowedProtocols property
An optional whitelist of allowed client protocols, or null.
A connection that asks only for other protocols is refused before it is
upgraded, with a 400 Bad Request; of those it asks for, the first that
is allowed is used.
Implementation
final List<String> allowedProtocols;