Interface WebSocketExtensionFilter
-
public interface WebSocketExtensionFilterFilter that is responsible to skip the evaluation of a certain extension according to standard.
-
-
Field Summary
Fields Modifier and Type Field Description static WebSocketExtensionFilterALWAYS_SKIPAWebSocketExtensionFilterthat always skip the evaluation of an any given extensionsWebSocketExtension.static WebSocketExtensionFilterNEVER_SKIPAWebSocketExtensionFilterthat never skip the evaluation of an any given extensionsWebSocketExtension.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanmustSkip(WebSocketFrame frame)Returnstrueif the evaluation of the extension must skipped for the given frame otherwisefalse.
-
-
-
Field Detail
-
NEVER_SKIP
static final WebSocketExtensionFilter NEVER_SKIP
AWebSocketExtensionFilterthat never skip the evaluation of an any given extensionsWebSocketExtension.
-
ALWAYS_SKIP
static final WebSocketExtensionFilter ALWAYS_SKIP
AWebSocketExtensionFilterthat always skip the evaluation of an any given extensionsWebSocketExtension.
-
-
Method Detail
-
mustSkip
boolean mustSkip(WebSocketFrame frame)
Returnstrueif the evaluation of the extension must skipped for the given frame otherwisefalse.
-
-