Class GzipResourceResolver

  • All Implemented Interfaces:
    ResourceResolver

    public class GzipResourceResolver
    extends AbstractResourceResolver
    A ResourceResolver that delegates to the chain to locate a resource and then attempts to find a variation with the ".gz" extension.

    The resolver gets involved only if the "Accept-Encoding" request header contains the value "gzip" indicating the client accepts gzipped responses.

    Since:
    4.1
    Author:
    Jeremy Grelle, Rossen Stoyanchev, Sam Brannen