Interface Decoder


  • public interface Decoder
    Allows to read in a custom manner a response payload.
    • Method Detail

      • decode

        Object decode​(byte[] value,
                      Type expectedType)
        Parameters:
        value - the payload content.
        expectedType - the user type.
        Returns:
        the instantiated payload respecting expectedType.