Top Description Fields Methods
io.netty5.handler.codec.http.websocketx.extensions

public Interface WebSocketExtensionFilter

Imports
io.netty5.handler.codec.http.websocketx.WebSocketFrame

Filter that is responsible to skip the evaluation of a certain extension according to standard.

Field Summary

Modifier and TypeField and Description
public static final WebSocketExtensionFilter
ALWAYS_SKIP

A WebSocketExtensionFilter that always skip the evaluation of an any given extensions WebSocketExtension.

public static final WebSocketExtensionFilter
NEVER_SKIP

A WebSocketExtensionFilter that never skip the evaluation of an any given extensions WebSocketExtension.

Method Summary

Modifier and TypeMethod and Description
public boolean
mustSkip(WebSocketFrame frame)

Returns true if the evaluation of the extension must skipped for the given frame otherwise false.

Field Detail

ALWAYS_SKIPback to summary
public static final WebSocketExtensionFilter ALWAYS_SKIP

A WebSocketExtensionFilter that always skip the evaluation of an any given extensions WebSocketExtension.

NEVER_SKIPback to summary
public static final WebSocketExtensionFilter NEVER_SKIP

A WebSocketExtensionFilter that never skip the evaluation of an any given extensions WebSocketExtension.

Method Detail

mustSkipback to summary
public boolean mustSkip(WebSocketFrame frame)

Returns true if the evaluation of the extension must skipped for the given frame otherwise false.