public final class GzipRequestInterceptor extends Object implements com.squareup.okhttp.Interceptor
Interceptor compresses the HTTP request body with gzip.
Many web servers can't handle this but we know that the Telemetry API is able to do this.
| Constructor and Description |
|---|
GzipRequestInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
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 in interface com.squareup.okhttp.InterceptorIOExceptionCopyright © 2015 Graylog, Inc.. All Rights Reserved.