public class DefaultCacheKeyGenerator extends Object implements CacheKeyGenerator<DefaultCacheKey>
Constructor and Description |
---|
DefaultCacheKeyGenerator() |
Modifier and Type | Method and Description |
---|---|
protected DefaultCacheKey |
createKey(info.magnolia.cms.core.AggregationState aggregationState,
String uri,
String serverName,
String locale,
String channel,
String method,
Map<String,String> params,
Boolean isSecure,
SortedMap<String,Serializable> additionalAttributes) |
DefaultCacheKey |
generateKey(info.magnolia.cms.core.AggregationState aggregationState) |
boolean |
isUseLocale() |
boolean |
isUseRequestGetSecure() |
boolean |
isUseRequestMethod() |
boolean |
isUseRequestParameters() |
boolean |
isUseRequestServerName() |
boolean |
isUseRequestUri() |
boolean |
isUseUserName() |
void |
setUseLocale(boolean useLocale) |
void |
setUseRequestGetSecure(boolean useRequestGetSecure) |
void |
setUseRequestMethod(boolean useRequestMethod) |
void |
setUseRequestParameters(boolean useRequestParameters) |
void |
setUseRequestServerName(boolean useRequestServerName) |
void |
setUseRequestUri(boolean useRequestUri) |
void |
setUseUserName(boolean useUserName) |
public DefaultCacheKey generateKey(info.magnolia.cms.core.AggregationState aggregationState)
generateKey
in interface CacheKeyGenerator<DefaultCacheKey>
protected DefaultCacheKey createKey(info.magnolia.cms.core.AggregationState aggregationState, String uri, String serverName, String locale, String channel, String method, Map<String,String> params, Boolean isSecure, SortedMap<String,Serializable> additionalAttributes)
public boolean isUseLocale()
public void setUseLocale(boolean useLocale)
public boolean isUseRequestMethod()
public void setUseRequestMethod(boolean useRequestMethod)
public boolean isUseRequestParameters()
public void setUseRequestParameters(boolean useRequestParameters)
public boolean isUseRequestUri()
public void setUseRequestUri(boolean useRequestUri)
public boolean isUseRequestGetSecure()
public void setUseRequestGetSecure(boolean useRequestGetSecure)
public boolean isUseRequestServerName()
public void setUseRequestServerName(boolean useRequestServerName)
public boolean isUseUserName()
public void setUseUserName(boolean useUserName)
Copyright © 2015 Magnolia International Ltd.. All rights reserved.