Class ResponseEntityDecoder

java.lang.Object
org.springframework.cloud.openfeign.support.ResponseEntityDecoder
All Implemented Interfaces:
feign.codec.Decoder

public class ResponseEntityDecoder extends Object implements feign.codec.Decoder
Decoder adds compatibility for Spring MVC's ResponseEntity to any other decoder via composition.
Author:
chad jaros, Olga Maciaszek-Sharma
  • Constructor Details

    • ResponseEntityDecoder

      public ResponseEntityDecoder(feign.codec.Decoder decoder)
  • Method Details

    • decode

      public Object decode(feign.Response response, Type type) throws IOException, feign.FeignException
      Specified by:
      decode in interface feign.codec.Decoder
      Throws:
      IOException
      feign.FeignException