public final class WebSocketExtensions extends Object
| Modifier and Type | Method and Description |
|---|---|
static List<WebSocketExtensionData> |
parse(Header header) |
static List<WebSocketExtensionData> |
parse(Iterator<Header> headers)
Parses and combines every
Sec-WebSocket-Extensions header field. |
public static List<WebSocketExtensionData> parse(Header header)
public static List<WebSocketExtensionData> parse(Iterator<Header> headers)
Sec-WebSocket-Extensions header field. RFC 6455 permits the
header to be split across multiple fields and requires them to be treated as a single combined
value, so a client's fallback offers carried in a later field are examined as well.Copyright © 1999–2021 The Apache Software Foundation. All rights reserved.