Interface PayloadProcessor

  • All Known Implementing Classes:
    DeMaskProcessor

    public interface PayloadProcessor
    Process the payload (for demasking, validating, etc..)
    • Method Detail

      • process

        void process​(java.nio.ByteBuffer payload)
        Used to process payloads for in the spec.
        Parameters:
        payload - the payload to process
        Throws:
        BadPayloadException - the exception when the payload fails to validate properly
      • reset

        void reset​(Frame frame)