public class FeignAcceptGzipEncodingInterceptor extends BaseRequestInterceptor
Accept-Encoding
headers. Although this does not yet mean that the requests will be compressed, it
requires the remote server to understand the header and be configured to compress
responses. Still no all responses might be compressed based on the media type matching
and other factors like the response content length.Modifier | Constructor and Description |
---|---|
protected |
FeignAcceptGzipEncodingInterceptor(FeignClientEncodingProperties properties)
Creates new instance of
FeignAcceptGzipEncodingInterceptor . |
Modifier and Type | Method and Description |
---|---|
void |
apply(feign.RequestTemplate template) |
addHeader, getProperties
protected FeignAcceptGzipEncodingInterceptor(FeignClientEncodingProperties properties)
FeignAcceptGzipEncodingInterceptor
.properties
- the encoding propertiesCopyright © 2019 Pivotal Software, Inc.. All rights reserved.