Class FixedMasker

  • All Implemented Interfaces:

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

      • FixedMasker

        public FixedMasker()
      • FixedMasker

        public FixedMasker​(byte[] mask)
    • 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
        frame - the frame to set the mask on.