Class DecoratedDecoder

java.lang.Object
io.microsphere.spring.cloud.openfeign.components.DecoratedFeignComponent<feign.codec.Decoder>
io.microsphere.spring.cloud.openfeign.components.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:
韩超, Mercy
  • Constructor Details

    • DecoratedDecoder

      public DecoratedDecoder(String contextId, org.springframework.cloud.context.named.NamedContextFactory<org.springframework.cloud.openfeign.FeignClientSpecification> contextFactory, org.springframework.cloud.openfeign.FeignClientProperties clientProperties, feign.codec.Decoder delegate)
  • Method Details

    • componentType

      protected Class<? extends feign.codec.Decoder> componentType()
      Specified by:
      componentType in class DecoratedFeignComponent<feign.codec.Decoder>
    • decode

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