Class PayloadProcessorProvider.PayloadProcessor

    • Constructor Detail

      • PayloadProcessor

        public PayloadProcessor()
    • Method Detail

      • processPayload

        public abstract byte[] processPayload​(byte[] payload,
                                              int start,
                                              int length)
                                       throws IOException
        Process the incoming payload and returns the resulting byte[]. Note that a new array might be allocated if the given array is not big enough. The length of the new payload data can be obtained via payloadLength().
        Throws:
        IOException