类 SourceInterceptor

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

@Component public class SourceInterceptor extends Object implements com.github.lianjiatech.retrofit.spring.boot.interceptor.GlobalInterceptor
全局拦截器,给请求添加source头

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

作者:
Yazhi Li
  • 构造器详细资料

    • SourceInterceptor

      public SourceInterceptor()
  • 方法详细资料

    • intercept

      public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOException
      指定者:
      intercept 在接口中 okhttp3.Interceptor
      抛出:
      IOException