类 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 -
构造器概要
构造器 -
方法概要
从类继承的方法 com.github.lianjiatech.retrofit.spring.boot.interceptor.BasePathMatchInterceptor
intercept, setExclude, setInclude, setPathMatcher
-
构造器详细资料
-
TokenInterceptor
public TokenInterceptor()
-
-
方法详细资料
-
doIntercept
- 指定者:
doIntercept在类中com.github.lianjiatech.retrofit.spring.boot.interceptor.BasePathMatchInterceptor- 抛出:
IOException
-