Interface WebSocketFrameMaskGenerator
-
- All Known Implementing Classes:
RandomWebSocketFrameMaskGenerator
public interface WebSocketFrameMaskGeneratorAllows to customize how the mask is generated that is used to mask theWebSocketFrame. Masking is only be done on the client-side.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intnextMask()Return the next mask that is used to mask the payload of theWebSocketFrame.
-
-
-
Method Detail
-
nextMask
int nextMask()
Return the next mask that is used to mask the payload of theWebSocketFrame.- Returns:
- mask.
-
-