Configuration properties for JAX-RS GZip support. This only applies to unmanaged services.
The output buffer size. Defaults to 8192. Be careful as values <= 0 will lead to an IllegalArgumentException.
Default: 8192
Content will only be compressed if content length is either unknown or greater than minGzipSize.
Default: 0
The compression level used for deflate compression. (0-9).
The noWrap setting for deflate compression. Defaults to true. (true/false)
Comma separated list of HTTP methods to compress. If not set, only GET requests are compressed.
Default: GET
Comma separated list of mime types to compress.
Comma separated list of user agents to exclude from compression. Does a String.contains() to check if the excluded agent occurs in the user-agent header. If it does -> no compression
Same as excludedAgents, but accepts regex patterns for more complex matching.
Comma separated list of paths to exclude from compression. Does a String.startsWith(String) comparison to check if the path matches. If it does match -> no compression. To match subpaths use excludePathPatterns instead.
Same as excludePath, but accepts regex patterns for more complex matching.
Set to the value of the Vary header sent with responses that could be compressed. By default it is set to 'Vary: Accept-Encoding, User-Agent' since IE6 is excluded by default from the excludedAgents. If user-agents are not to be excluded, then this can be set to 'Vary: Accept-Encoding'. Note also that shared caches may cache copies of a resource that is varied by User-Agent - one per variation of the User-Agent, unless the cache does some normalization of the UA string.