public class IsPageCacheableAction extends ServiceableAction implements ThreadSafe
Modifier and Type | Field and Description |
---|---|
protected CacheAccessManager |
_cacheAccess
The cache access component.
|
private Logger |
_logger |
protected SourceResolver |
_resolver
The source resolver.
|
protected ResourceAccessComponent |
_resourceAccessComponent
The resource access monitoring component
|
manager
EMPTY_MAP
Constructor and Description |
---|
IsPageCacheableAction() |
Modifier and Type | Method and Description |
---|---|
protected CacheAccessManager |
_getCacheAccessManager()
Get the cache access manager
|
protected ResourceAccessComponent |
_getResourceAccessComponent()
Get the resource access component
|
protected boolean |
_resourceExists(SourceResolver resolver,
String resourceURI)
Tests if the resource exists.
|
Map |
act(Redirector redirector,
SourceResolver resolver,
Map objectModel,
String source,
Parameters parameters) |
service
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
protected CacheAccessManager _cacheAccess
protected ResourceAccessComponent _resourceAccessComponent
protected SourceResolver _resolver
public IsPageCacheableAction()
protected CacheAccessManager _getCacheAccessManager()
protected ResourceAccessComponent _getResourceAccessComponent()
public Map act(Redirector redirector, SourceResolver resolver, Map objectModel, String source, Parameters parameters) throws Exception
protected boolean _resourceExists(SourceResolver resolver, String resourceURI)
resolver
- the resolver.resourceURI
- the resource uri.