- All Implemented Interfaces:
- javax.servlet.Filter
@Singleton
public class GzipEncodingEnforcingFilter
extends java.lang.Object
implements javax.servlet.Filter
Originally Eureka supported non-compressed responses only. For large registries it was extremely
inefficient, so gzip encoding was added. As nowadays all modern HTTP clients support gzip HTTP response
transparently, there is no longer need to maintain uncompressed content. By adding this filter, Eureka
server will accept only GET requests that explicitly support gzip encoding replies. In the coming minor release
non-compressed replies will be dropped altogether, so this filter will become required.