Class CompositedRequestInterceptor

  • All Implemented Interfaces:
    feign.RequestInterceptor, Refreshable

    public class CompositedRequestInterceptor
    extends java.lang.Object
    implements feign.RequestInterceptor, Refreshable
    Since:
    0.0.1
    Author:
    韩超
    • Constructor Summary

      Constructors 
      Constructor Description
      CompositedRequestInterceptor​(java.lang.String contextId, org.springframework.beans.factory.BeanFactory beanFactory)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean addRequestInterceptor​(feign.RequestInterceptor requestInterceptor)  
      void apply​(feign.RequestTemplate template)  
      java.util.Set<feign.RequestInterceptor> getRequestInterceptors()  
      void refresh()  
      • Methods inherited from class java.lang.Object

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

      • CompositedRequestInterceptor

        public CompositedRequestInterceptor​(java.lang.String contextId,
                                            org.springframework.beans.factory.BeanFactory beanFactory)
    • Method Detail

      • getRequestInterceptors

        public java.util.Set<feign.RequestInterceptor> getRequestInterceptors()
      • apply

        public void apply​(feign.RequestTemplate template)
        Specified by:
        apply in interface feign.RequestInterceptor
      • addRequestInterceptor

        public boolean addRequestInterceptor​(feign.RequestInterceptor requestInterceptor)