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 Type
    Method
    Description
    int
    Return the next mask that is used to mask the payload of the WebSocketFrame.
  • Method Details

    • nextMask

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