public interface WebSocketExtensionFilter
限定符和类型 | 字段和说明 |
---|---|
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 . |
限定符和类型 | 方法和说明 |
---|---|
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
.