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.
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Cache | |
| public Mono | transform(ServerWebExchange
the current exchange exchange, Resource the resource to transform resource, ResourceTransformerChain the chain of remaining transformers to delegate to transformerChain)Implements org. Transform the given resource. |
| cache | back to summary |
|---|---|
| private final Cache cache | |
| logger | back to summary |
|---|---|
| private static final Log logger | |
| CachingResourceTransformer | back to summary |
|---|---|
| public CachingResourceTransformer(Cache cache) | |
| CachingResourceTransformer | back to summary |
|---|---|
| public CachingResourceTransformer(CacheManager cacheManager, String cacheName) | |
| getCache | back to summary |
|---|---|
| public Cache getCache() Return the configured | |
| transform | back to summary |
|---|---|
| public Mono Implements org. Doc from org. Transform the given resource.
| |