Package feign.hystrix

Class HystrixDelegatingContract

  • All Implemented Interfaces:
    feign.Contract

    public final class HystrixDelegatingContract
    extends java.lang.Object
    implements feign.Contract
    This special cases methods that return HystrixCommand, Observable, or Single so that they are decoded properly.

    For example, HystrixCommand<Foo> and Observable<Foo> will decode Foo.

    • Nested Class Summary

      • Nested classes/interfaces inherited from interface feign.Contract

        feign.Contract.BaseContract, feign.Contract.Default
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<feign.MethodMetadata> parseAndValidatateMetadata​(java.lang.Class<?> targetType)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • HystrixDelegatingContract

        public HystrixDelegatingContract​(feign.Contract delegate)
    • Method Detail

      • parseAndValidatateMetadata

        public java.util.List<feign.MethodMetadata> parseAndValidatateMetadata​(java.lang.Class<?> targetType)
        Specified by:
        parseAndValidatateMetadata in interface feign.Contract