Class RandomMasker

  • All Implemented Interfaces:
    Masker

    public class RandomMasker
    extends java.lang.Object
    implements Masker
    • Constructor Detail

      • RandomMasker

        public RandomMasker()
      • RandomMasker

        public RandomMasker​(java.util.Random random)
    • Method Detail

      • setMask

        public void setMask​(WebSocketFrame frame)
        Description copied from interface: Masker
        Set the mask on the provided WebSocketFrame.

        Implementations MUST set the mask on the frame.

        Specified by:
        setMask in interface Masker
        Parameters:
        frame - the frame to set the mask on.