public interface WebSocketExtensionFilter
| Modifier and Type | Field and Description |
|---|---|
static WebSocketExtensionFilter |
ALWAYS_SKIP
A
WebSocketExtensionFilter that always skip the evaluation of an
any given extensions WebSocketExtension. |
static WebSocketExtensionFilter |
NEVER_SKIP
A
WebSocketExtensionFilter that never skip the evaluation of an
any given extensions WebSocketExtension. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
mustSkip(WebSocketFrame frame)
Returns
true if the evaluation of the extension must skipped
for the given frame otherwise false. |
static final WebSocketExtensionFilter NEVER_SKIP
WebSocketExtensionFilter that never skip the evaluation of an
any given extensions WebSocketExtension.static final WebSocketExtensionFilter ALWAYS_SKIP
WebSocketExtensionFilter that always skip the evaluation of an
any given extensions WebSocketExtension.boolean mustSkip(WebSocketFrame frame)
true if the evaluation of the extension must skipped
for the given frame otherwise false.Copyright © 2008–2019 The Netty Project. All rights reserved.