Interface PayloadProcessor

  • All Known Implementing Classes:
    DeMaskProcessor

    @Deprecated
    public interface PayloadProcessor
    Deprecated.
    This api is not supported anymore. Please do not use it.
    Process the payload (for demasking, validating, etc..)
    • Method Detail

      • process

        void process​(java.nio.ByteBuffer payload)
        Deprecated.
        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)
        Deprecated.