public class ErrorDecoderInterceptor extends Object implements okhttp3.Interceptor
| 限定符和类型 | 字段和说明 |
|---|---|
private static Map<ErrorDecoder,ErrorDecoderInterceptor> |
cache |
private ErrorDecoder |
errorDecoder |
| 限定符 | 构造器和说明 |
|---|---|
private |
ErrorDecoderInterceptor(ErrorDecoder errorDecoder) |
private final ErrorDecoder errorDecoder
private static Map<ErrorDecoder,ErrorDecoderInterceptor> cache
private ErrorDecoderInterceptor(ErrorDecoder errorDecoder)
public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain)
throws IOException
intercept 在接口中 okhttp3.InterceptorIOExceptionpublic static ErrorDecoderInterceptor create(ErrorDecoder errorDecoder)
Copyright © 2022. All rights reserved.