public abstract class AbstractCacheKey extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
protected String |
authenticationRequirement |
protected long |
customExpiryTime |
protected long |
expiryForAccessTime |
protected long |
expiryForUpdateTime |
protected String |
hierarchyResourcePath |
protected String |
resourcePath |
protected String |
uri |
Constructor and Description |
---|
AbstractCacheKey() |
AbstractCacheKey(org.apache.sling.api.SlingHttpServletRequest request,
HttpCacheConfig cacheConfig) |
AbstractCacheKey(String uri,
HttpCacheConfig cacheConfig) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getAuthenticationRequirement() |
long |
getExpiryForAccess() |
long |
getExpiryForCreation() |
long |
getExpiryForUpdate() |
String |
getHierarchyResourcePath() |
String |
getResourcePath() |
String |
getUri() |
int |
hashCode() |
boolean |
isInvalidatedBy(CacheKey cacheKey) |
protected String |
makeHierarchyResourcePath(String resourcePath) |
protected void |
parentReadObject(ObjectInputStream o) |
protected void |
parentWriteObject(ObjectOutputStream o) |
protected String authenticationRequirement
protected String uri
protected String resourcePath
protected String hierarchyResourcePath
protected long customExpiryTime
protected long expiryForAccessTime
protected long expiryForUpdateTime
public AbstractCacheKey()
public AbstractCacheKey(org.apache.sling.api.SlingHttpServletRequest request, HttpCacheConfig cacheConfig)
public AbstractCacheKey(String uri, HttpCacheConfig cacheConfig)
protected void parentWriteObject(ObjectOutputStream o) throws IOException
IOException
protected void parentReadObject(ObjectInputStream o) throws IOException, ClassNotFoundException
IOException
ClassNotFoundException
public String getAuthenticationRequirement()
public String getUri()
public String getHierarchyResourcePath()
public String getResourcePath()
public boolean isInvalidatedBy(CacheKey cacheKey)
public long getExpiryForCreation()
public long getExpiryForAccess()
public long getExpiryForUpdate()
Copyright © 2013–2021 Adobe. All rights reserved.