EncodedResourceResolver
@Deprecated public class GzipResourceResolver extends AbstractResourceResolver
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.
logger
Constructor and Description |
---|
GzipResourceResolver()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected Resource |
resolveResourceInternal(HttpServletRequest request,
String requestPath,
List<? extends Resource> locations,
ResourceResolverChain chain)
Deprecated.
|
protected String |
resolveUrlPathInternal(String resourceUrlPath,
List<? extends Resource> locations,
ResourceResolverChain chain)
Deprecated.
|
resolveResource, resolveUrlPath
protected Resource resolveResourceInternal(@Nullable HttpServletRequest request, String requestPath, List<? extends Resource> locations, ResourceResolverChain chain)
resolveResourceInternal
in class AbstractResourceResolver
protected String resolveUrlPathInternal(String resourceUrlPath, List<? extends Resource> locations, ResourceResolverChain chain)
resolveUrlPathInternal
in class AbstractResourceResolver