@Component @Profile(value="performance") public class CachingTransformationProcessor extends Object implements ImageTransformationProcessor
Constructor and Description |
---|
CachingTransformationProcessor() |
CachingTransformationProcessor(ImageTransformationProcessor imageTransformationProcessor,
UriImageFactory uriImageFactory,
javax.cache.Cache imageCache,
javax.cache.Cache timeStampCache,
int defaultCheckPeriod)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
int |
getDefaultCheckPeriod() |
ImageTransformationProcessor |
getImageTransformationProcessor() |
boolean |
getRecheckSource() |
TransformedImageResponse |
processTransformation(String pathInfo)
Process the image transformation as per the request fragments.
|
public CachingTransformationProcessor()
@Deprecated public CachingTransformationProcessor(ImageTransformationProcessor imageTransformationProcessor, UriImageFactory uriImageFactory, javax.cache.Cache imageCache, javax.cache.Cache timeStampCache, int defaultCheckPeriod)
@PostConstruct public void afterPropertiesSet()
public TransformedImageResponse processTransformation(String pathInfo) throws TransformationException
TransformationProcessor
processTransformation
in interface TransformationProcessor<TransformedImageResponse>
pathInfo
- the fragments to processTransformationException
public ImageTransformationProcessor getImageTransformationProcessor()
public int getDefaultCheckPeriod()
public boolean getRecheckSource()
Copyright (c) 2014-2021 All Rights Reserved by the RWS Group for and on behalf of its affiliates and subsidiaries