Class DecoratedDecoder

  • All Implemented Interfaces:
    feign.codec.Decoder, Refreshable

    public class DecoratedDecoder
    extends DecoratedFeignComponent<feign.codec.Decoder>
    implements feign.codec.Decoder
    Since:
    0.0.1
    Author:
    韩超
    • Constructor Detail

      • DecoratedDecoder

        public DecoratedDecoder​(java.lang.String contextId,
                                org.springframework.cloud.openfeign.FeignContext feignContext,
                                org.springframework.cloud.openfeign.FeignClientProperties clientProperties,
                                feign.codec.Decoder delegate)
    • Method Detail

      • decode

        public java.lang.Object decode​(feign.Response response,
                                       java.lang.reflect.Type type)
                                throws java.io.IOException,
                                       feign.codec.DecodeException,
                                       feign.FeignException
        Specified by:
        decode in interface feign.codec.Decoder
        Throws:
        java.io.IOException
        feign.codec.DecodeException
        feign.FeignException