Package org.miaixz.bus.http.plugin.httpz
Class FileInterceptor
java.lang.Object
org.miaixz.bus.http.plugin.httpz.FileInterceptor
- All Implemented Interfaces:
Interceptor,ProgressListener
请求参数-文件处理
- Since:
- Java 17+
- Author:
- Kimi Liu
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface org.miaixz.bus.http.metric.Interceptor
Interceptor.Chain -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintercept(Interceptor.Chain chain) abstract voidupdateProgress(long downloadLenth, long totalLength, boolean isFinish)
-
Constructor Details
-
FileInterceptor
public FileInterceptor()
-
-
Method Details
-
intercept
- Specified by:
interceptin interfaceInterceptor- Throws:
IOException
-
updateProgress
public abstract void updateProgress(long downloadLenth, long totalLength, boolean isFinish) - Specified by:
updateProgressin interfaceProgressListener
-