Class FeignAddServiceNameContext

java.lang.Object
com.huaweicloud.common.adapters.feign.FeignAddServiceNameContext
All Implemented Interfaces:
feign.RequestInterceptor, org.springframework.core.Ordered

public class FeignAddServiceNameContext extends Object implements feign.RequestInterceptor, org.springframework.core.Ordered
  • Field Summary

    Fields inherited from interface org.springframework.core.Ordered

    HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
  • Constructor Summary

    Constructors
    Constructor
    Description
    FeignAddServiceNameContext(org.springframework.cloud.client.serviceregistry.Registration registration)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    apply(feign.RequestTemplate requestTemplate)
     
    int
     

    Methods inherited from class java.lang.Object

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

    • FeignAddServiceNameContext

      public FeignAddServiceNameContext(org.springframework.cloud.client.serviceregistry.Registration registration)
  • Method Details

    • apply

      public void apply(feign.RequestTemplate requestTemplate)
      Specified by:
      apply in interface feign.RequestInterceptor
    • getOrder

      public int getOrder()
      Specified by:
      getOrder in interface org.springframework.core.Ordered