Module io.netty5.codec.http
Interface WebSocketExtensionFilter
-
public interface WebSocketExtensionFilter
Filter that is responsible to skip the evaluation of a certain extension according to standard.
-
-
Field Summary
Fields Modifier and Type Field Description static WebSocketExtensionFilter
ALWAYS_SKIP
AWebSocketExtensionFilter
that always skip the evaluation of an any given extensionsWebSocketExtension
.static WebSocketExtensionFilter
NEVER_SKIP
AWebSocketExtensionFilter
that never skip the evaluation of an any given extensionsWebSocketExtension
.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
mustSkip(WebSocketFrame frame)
Returnstrue
if the evaluation of the extension must skipped for the given frame otherwisefalse
.
-
-
-
Field Detail
-
NEVER_SKIP
static final WebSocketExtensionFilter NEVER_SKIP
AWebSocketExtensionFilter
that never skip the evaluation of an any given extensionsWebSocketExtension
.
-
ALWAYS_SKIP
static final WebSocketExtensionFilter ALWAYS_SKIP
AWebSocketExtensionFilter
that always skip the evaluation of an any given extensionsWebSocketExtension
.
-
-
Method Detail
-
mustSkip
boolean mustSkip(WebSocketFrame frame)
Returnstrue
if the evaluation of the extension must skipped for the given frame otherwisefalse
.
-
-