Uses of Interface
org.springframework.web.servlet.resource.ResourceTransformer
Packages that use ResourceTransformer
Package
Description
Annotation-based setup for Spring MVC.
Support classes for serving static resources.
-
Uses of ResourceTransformer in org.springframework.web.servlet.config.annotation
Methods in org.springframework.web.servlet.config.annotation that return types with arguments of type ResourceTransformerModifier and TypeMethodDescriptionprotected List<ResourceTransformer>
ResourceChainRegistration.getResourceTransformers()
Methods in org.springframework.web.servlet.config.annotation with parameters of type ResourceTransformerModifier and TypeMethodDescriptionResourceChainRegistration.addTransformer
(ResourceTransformer transformer) Add a resource transformer to the chain. -
Uses of ResourceTransformer in org.springframework.web.servlet.resource
Classes in org.springframework.web.servlet.resource that implement ResourceTransformerModifier and TypeClassDescriptionclass
AResourceTransformer
that checks aCache
to see if a previously transformed resource exists in the cache and returns it if found, and otherwise delegates to the resolver chain and saves the result in the cache.class
AResourceTransformer
implementation that modifies links in a CSS file to match the public URL paths that should be exposed to clients (e.g.class
A base class for aResourceTransformer
with an optional helper method for resolving public links within a transformed resource.Methods in org.springframework.web.servlet.resource that return types with arguments of type ResourceTransformerModifier and TypeMethodDescriptionResourceHttpRequestHandler.getResourceTransformers()
Return the list of configured resource transformers.Method parameters in org.springframework.web.servlet.resource with type arguments of type ResourceTransformerModifier and TypeMethodDescriptionvoid
ResourceHttpRequestHandler.setResourceTransformers
(List<ResourceTransformer> resourceTransformers) Configure the list ofResourceTransformers
to use.