Interface Decoder


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

    Modifier and Type
    Method
    Description
    decode(byte[] value, Type expectedType)
     
  • Method Details

    • decode

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