class GzipRequestInterceptor extends Object implements com.squareup.okhttp.Interceptor
| 构造器和说明 |
|---|
GzipRequestInterceptor() |
| 限定符和类型 | 方法和说明 |
|---|---|
private com.squareup.okhttp.RequestBody |
forceContentLength(com.squareup.okhttp.RequestBody requestBody) |
private com.squareup.okhttp.RequestBody |
gzip(com.squareup.okhttp.RequestBody body) |
com.squareup.okhttp.Response |
intercept(com.squareup.okhttp.Interceptor.Chain chain) |
public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain)
throws IOException
intercept 在接口中 com.squareup.okhttp.InterceptorIOExceptionprivate com.squareup.okhttp.RequestBody forceContentLength(com.squareup.okhttp.RequestBody requestBody)
throws IOException
IOExceptionprivate com.squareup.okhttp.RequestBody gzip(com.squareup.okhttp.RequestBody body)
Copyright © 2023. All rights reserved.