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(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:
BadPayloadException
- the exception when the payload fails to validate properly
-
reset
void reset(Frame frame)
-
-