@FunctionalInterface interface ResourceTransformer
An abstraction for transforming the content of a resource.
Author
Jeremy Grelle
Author
Rossen Stoyanchev
Since
4.1
abstract fun transform(request: HttpServletRequest, resource: Resource, transformerChain: ResourceTransformerChain): Resource
Transform the given resource. |
open class CachingResourceTransformer : ResourceTransformer
A org.springframework.web.servlet.resource.ResourceTransformer that checks a org.springframework.cache.Cache 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. |