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 Detail

      • nextMask

        int nextMask()
        Return the next mask that is used to mask the payload of the WebSocketFrame.
        Returns:
        mask.