Interface PayloadProcessor

  • All Known Implementing Classes:
    DeMaskProcessor

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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void process​(java.nio.ByteBuffer payload)
      Used to process payloads for in the spec.
      void reset​(org.eclipse.jetty.websocket.api.extensions.Frame frame)  
    • Method Detail

      • process

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

        void reset​(org.eclipse.jetty.websocket.api.extensions.Frame frame)