Interface PayloadProcessor

All Known Implementing Classes:
DeMaskProcessor

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

    Modifier and Type
    Method
    Description
    void
    Used to process payloads for in the spec.
    void
    reset(Frame frame)
     
  • Method Details

    • process

      void process(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)