See: Description
Interface | Description |
---|---|
CssLinkResourceTransformer.LinkParser |
Extract content chunks that represent links.
|
HttpResource |
Extended interface for a
Resource to be written to an
HTTP response. |
ResourceResolver |
A strategy for resolving a request to a server-side resource.
|
ResourceResolverChain |
A contract for invoking a chain of
ResourceResolvers where each resolver
is given a reference to the chain allowing it to delegate when necessary. |
ResourceTransformer |
An abstraction for transforming the content of a resource.
|
ResourceTransformerChain |
A contract for invoking a chain of
ResourceTransformers where each resolver
is given a reference to the chain allowing it to delegate when necessary. |
VersionStrategy |
A strategy to determine the version of a static resource and to apply and/or
extract it from the URL path.
|
Class | Description |
---|---|
AbstractFileNameVersionStrategy |
Abstract base class for filename suffix based
VersionStrategy
implementations, e.g. |
AbstractPrefixVersionStrategy |
Abstract base class for
VersionStrategy implementations that insert
a prefix into the URL path, e.g. |
AbstractResourceResolver |
Base
ResourceResolver providing consistent logging. |
AppCacheManifestTransformer | Deprecated
as of 5.3 since browser support is going away
|
CachingResourceResolver |
A
ResourceResolver that resolves resources from a Cache or
otherwise delegates to the resolver chain and caches the result. |
CachingResourceTransformer |
A
ResourceTransformer that checks a Cache to see if a
previously transformed resource exists in the cache and returns it if found,
or otherwise delegates to the resolver chain and caches the result. |
ContentVersionStrategy |
A
VersionStrategy that calculates a Hex MD5 hash from the content
of the resource and appends it to the file name, e.g. |
CssLinkResourceTransformer |
A
ResourceTransformer implementation that modifies links in a CSS
file to match the public URL paths that should be exposed to clients (e.g. |
CssLinkResourceTransformer.AbstractLinkParser |
Abstract base class for
CssLinkResourceTransformer.LinkParser implementations. |
EncodedResourceResolver |
Resolver that delegates to the chain, and if a resource is found, it then
attempts to find an encoded (e.g.
|
FixedVersionStrategy |
A
VersionStrategy that relies on a fixed version applied as a request
path prefix, e.g. |
GzipResourceResolver | Deprecated
as of 5.1, in favor of using
EncodedResourceResolver |
PathResourceResolver |
A simple
ResourceResolver that tries to find a resource under the given
locations matching to the request path. |
ResourceTransformerSupport |
A base class for a
ResourceTransformer with an optional helper method
for resolving public links within a transformed resource. |
ResourceUrlProvider |
A central component to use to obtain the public URL path that clients should
use to access a static resource.
|
ResourceWebHandler |
HttpRequestHandler that serves static resources in an optimized way
according to the guidelines of Page Speed, YSlow, etc. |
TransformedResource |
An extension of
ByteArrayResource that a ResourceTransformer
can use to represent an original resource preserving all other information
except the content. |
VersionResourceResolver |
Resolves request paths containing a version string that can be used as part
of an HTTP caching strategy in which a resource is cached with a date in the
distant future (e.g.
|
WebJarsResourceResolver |
A
ResourceResolver that delegates to the chain to locate a resource and then
attempts to find a matching versioned resource contained in a WebJar JAR file. |