public class GzipInterceptor extends Object implements okhttp3.Interceptor
Constructor and Description |
---|
GzipInterceptor() |
Modifier and Type | Method and Description |
---|---|
void |
disableGzip() |
void |
enableGzip() |
okhttp3.Response |
intercept(okhttp3.Interceptor.Chain chain) |
boolean |
isEnabledGzip() |
@Nonnull public okhttp3.Response intercept(@Nonnull okhttp3.Interceptor.Chain chain) throws IOException
intercept
in interface okhttp3.Interceptor
IOException
public void enableGzip()
public boolean isEnabledGzip()
public void disableGzip()
Copyright © 2018–2019 InfluxData, Inc.. All rights reserved.