Package org.miaixz.bus.http.metric.http
Class RetryAndFollowUp
java.lang.Object
org.miaixz.bus.http.metric.http.RetryAndFollowUp
- All Implemented Interfaces:
Interceptor
该拦截器从失败中恢复,并根据需要进行重定向
如果调用被取消,它可能会抛出
IOException- Since:
- Java 17+
- Author:
- Kimi Liu
-
Constructor Details
-
RetryAndFollowUp
-
-
Method Details
-
intercept
Description copied from interface:Interceptor网络请求拦截- Specified by:
interceptin interfaceInterceptor- Parameters:
chain- 网络调用链- Returns:
Response- Throws:
IOException- 异常
-