Module io.netty5.codec.http
Interface WebSocketExtension
-
- All Known Subinterfaces:
WebSocketClientExtension
,WebSocketServerExtension
public interface WebSocketExtension
Created once the handshake phase is done.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description WebSocketExtensionDecoder
newExtensionDecoder()
WebSocketExtensionEncoder
newExtensionEncoder()
int
rsv()
-
-
-
Field Detail
-
RSV1
static final int RSV1
- See Also:
- Constant Field Values
-
RSV2
static final int RSV2
- See Also:
- Constant Field Values
-
RSV3
static final int RSV3
- See Also:
- Constant Field Values
-
-
Method Detail
-
rsv
int rsv()
- Returns:
- the reserved bit value to ensure that no other extension should interfere.
-
newExtensionEncoder
WebSocketExtensionEncoder newExtensionEncoder()
- Returns:
- create the extension encoder.
-
newExtensionDecoder
WebSocketExtensionDecoder newExtensionDecoder()
- Returns:
- create the extension decoder.
-
-