| 接口 | 说明 |
|---|---|
| PrototypeInterceptor |
拦截器标记接口
该接口的实现类在spring容器中的scope会自动修改为prototype
|
| 类 | 说明 |
|---|---|
| BaseGlobalInterceptor |
okhttp全局拦截器
使用抽象类,方便后面进行功能升级
|
| BaseHttpExceptionMessageFormatter |
retrofit Http异常信息格式化器,用于将request和response格式化为可阅读的String数据。
|
| BaseLoggingInterceptor | |
| BasePathMatchInterceptor |
路径匹配拦截器, 如果使用spring-bean方式,使用原型模式
|
| DefaultHttpExceptionMessageFormatter | |
| DefaultLoggingInterceptor | |
| HttpExceptionMessageFormatterInterceptor |
http异常信息格式化
|
| 枚举 | 说明 |
|---|---|
| BaseLoggingInterceptor.LogStrategy |
Copyright © 2020. All rights reserved.