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 WebSocketExtensionFilterAWebSocketExtensionFilterthat always skip the evaluation of an any given extensionsWebSocketExtension.static final WebSocketExtensionFilterAWebSocketExtensionFilterthat never skip the evaluation of an any given extensionsWebSocketExtension. -
Method Summary
Modifier and TypeMethodDescriptionbooleanmustSkip(WebSocketFrame frame) Returnstrueif the evaluation of the extension must skipped for the given frame otherwisefalse.
-
Field Details
-
NEVER_SKIP
AWebSocketExtensionFilterthat never skip the evaluation of an any given extensionsWebSocketExtension. -
ALWAYS_SKIP
AWebSocketExtensionFilterthat always skip the evaluation of an any given extensionsWebSocketExtension.
-
-
Method Details
-
mustSkip
Returnstrueif the evaluation of the extension must skipped for the given frame otherwisefalse.
-