Interface WebSocketFrameMaskGenerator
- All Known Implementing Classes:
RandomWebSocketFrameMaskGenerator
public interface WebSocketFrameMaskGenerator
Allows to customize how the mask is generated that is used to mask the
WebSocketFrame. Masking
is only be done on the client-side.-
Method Summary
Modifier and TypeMethodDescriptionintnextMask()Return the next mask that is used to mask the payload of theWebSocketFrame.
-
Method Details
-
nextMask
int nextMask()Return the next mask that is used to mask the payload of theWebSocketFrame.- Returns:
- mask.
-