Class RandomMasker

  • All Implemented Interfaces:
    Masker

    @Deprecated(since="2021-05-27")
    public class RandomMasker
    extends java.lang.Object
    implements Masker
    Deprecated.
    • Constructor Detail

      • RandomMasker

        public RandomMasker()
        Deprecated.
      • RandomMasker

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

      • setMask

        public void setMask​(WebSocketFrame frame)
        Deprecated.
        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.