Uses of Package
org.springframework.web.servlet.resource
Package
Description
Annotation-based setup for Spring MVC.
MVC infrastructure for annotation-based handler method processing, building on the
org.springframework.web.method.annotation
package.Support package for MVC controllers.
Support classes for serving static resources.
-
ClassDescription
HttpRequestHandler
that serves static resources in an optimized way according to the guidelines of Page Speed, YSlow, etc.A strategy for resolving a request to a server-side resource.An abstraction for transforming the content of a resource.A central component to use to obtain the public URL path that clients should use to access a static resource. -
-
-
ClassDescriptionBase class for
ResourceResolver
implementations.Abstract base class forVersionStrategy
implementations.Extract content chunks that represent links.HttpRequestHandler
that serves static resources in an optimized way according to the guidelines of Page Speed, YSlow, etc.A strategy for resolving a request to a server-side resource.A contract for invoking a chain ofResourceResolvers
where each resolver is given a reference to the chain allowing it to delegate when necessary.An abstraction for transforming the content of a resource.A contract for invoking a chain ofResourceTransformers
where each resolver is given a reference to the chain allowing it to delegate when necessary.A base class for aResourceTransformer
with an optional helper method for resolving public links within a transformed resource.A central component to use to obtain the public URL path that clients should use to access a static resource.A strategy for extracting and embedding a resource version in its URL path.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 (for example, 1 year) and cached until the version, and therefore the URL, is changed.An extension ofVersionPathStrategy
that adds a method to determine the actual version of aResource
.