public abstract class BaseGlobalInterceptor extends Object implements PrototypeInterceptor
| 构造器和说明 |
|---|
BaseGlobalInterceptor() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected abstract okhttp3.Response |
doIntercept(okhttp3.Interceptor.Chain chain)
do intercept
|
okhttp3.Response |
intercept(okhttp3.Interceptor.Chain chain) |
public final okhttp3.Response intercept(okhttp3.Interceptor.Chain chain)
throws IOException
intercept 在接口中 okhttp3.InterceptorIOExceptionprotected abstract okhttp3.Response doIntercept(okhttp3.Interceptor.Chain chain)
throws IOException
chain - interceptor chainIOException - IOExceptionCopyright © 2021. All rights reserved.