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
-
Nested Class Summary
Nested classes/interfaces inherited from interface feign.codec.Decoder
feign.codec.Decoder.Default -
Field Summary
Fields inherited from class io.microsphere.spring.cloud.openfeign.components.DecoratedFeignComponent
delegate, logger -
Constructor Summary
ConstructorsConstructorDescriptionDecoratedDecoder(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 Summary
Methods inherited from class io.microsphere.spring.cloud.openfeign.components.DecoratedFeignComponent
contextId, delegate, equals, get, getCurrentConfiguration, getDefaultConfiguration, hashCode, instantiate, loadInstance, loadInstanceFromContextFactory, refresh, toString
-
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
- Specified by:
componentTypein classDecoratedFeignComponent<feign.codec.Decoder>
-
decode
public Object decode(feign.Response response, Type type) throws IOException, feign.codec.DecodeException, feign.FeignException - Specified by:
decodein interfacefeign.codec.Decoder- Throws:
IOExceptionfeign.codec.DecodeExceptionfeign.FeignException
-