类 TokenInterceptor

java.lang.Object
com.github.lianjiatech.retrofit.spring.boot.interceptor.BasePathMatchInterceptor
plus.hiver.common.utils.retrofit.TokenInterceptor
所有已实现的接口:
okhttp3.Interceptor

@Component public class TokenInterceptor extends com.github.lianjiatech.retrofit.spring.boot.interceptor.BasePathMatchInterceptor
给请求添加登录Token头的拦截器

尊重知识产权,CV 请保留版权,海文科技 https://hiver.cc 出品,不允许非法使用,后果自负

作者:
Yazhi Li
  • 嵌套类概要

    从接口继承的嵌套类/接口 okhttp3.Interceptor

    okhttp3.Interceptor.Chain
  • 字段概要

    从类继承的字段 com.github.lianjiatech.retrofit.spring.boot.interceptor.BasePathMatchInterceptor

    exclude, include, pathMatcher
  • 构造器概要

    构造器
    构造器
    说明
     
  • 方法概要

    修饰符和类型
    方法
    说明
    protected okhttp3.Response
    doIntercept(okhttp3.Interceptor.Chain chain)
     

    从类继承的方法 com.github.lianjiatech.retrofit.spring.boot.interceptor.BasePathMatchInterceptor

    intercept, setExclude, setInclude, setPathMatcher

    从类继承的方法 java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 构造器详细资料

    • TokenInterceptor

      public TokenInterceptor()
  • 方法详细资料

    • doIntercept

      protected okhttp3.Response doIntercept(okhttp3.Interceptor.Chain chain) throws IOException
      指定者:
      doIntercept 在类中 com.github.lianjiatech.retrofit.spring.boot.interceptor.BasePathMatchInterceptor
      抛出:
      IOException