public final class GzipRequestInterceptor extends Object implements okhttp3.Interceptor
Interceptor compresses the HTTP request body with gzip.
Many web servers can't handle this but we know that the statistics collector is able to do this.
| Constructor and Description |
|---|
GzipRequestInterceptor() |
public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain)
throws IOException
intercept in interface okhttp3.InterceptorIOExceptionCopyright © 2015–2016 Graylog, Inc.. All rights reserved.