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 boolean |
_resourceExists(SourceResolver resolver,
String resourceURI)
Tests if the resource exists.
|
Map |
act(Redirector redirector,
SourceResolver resolver,
Map objectModel,
String source,
Parameters parameters) |
void |
service(ServiceManager serviceManager) |
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
protected CacheAccessManager _cacheAccess
protected ResourceAccessComponent _resourceAccessComponent
protected SourceResolver _resolver
public IsPageCacheableAction()
public void service(ServiceManager serviceManager) throws ServiceException
service
in interface Serviceable
service
in class ServiceableAction
ServiceException
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.