Interface WebSocketExtensionFilter
public interface WebSocketExtensionFilter
Filter that is responsible to skip the evaluation of a certain extension
according to standard.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final WebSocketExtensionFilter
AWebSocketExtensionFilter
that always skip the evaluation of an any given extensionsWebSocketExtension
.static final WebSocketExtensionFilter
AWebSocketExtensionFilter
that never skip the evaluation of an any given extensionsWebSocketExtension
. -
Method Summary
Modifier and TypeMethodDescriptionboolean
mustSkip
(WebSocketFrame frame) Returnstrue
if the evaluation of the extension must skipped for the given frame otherwisefalse
.
-
Field Details
-
NEVER_SKIP
AWebSocketExtensionFilter
that never skip the evaluation of an any given extensionsWebSocketExtension
. -
ALWAYS_SKIP
AWebSocketExtensionFilter
that always skip the evaluation of an any given extensionsWebSocketExtension
.
-
-
Method Details
-
mustSkip
Returnstrue
if the evaluation of the extension must skipped for the given frame otherwisefalse
.
-