public class ResourcePathCacheKey extends AbstractCacheKey implements CacheKey, Serializable
Resource path
Authentication requirement
authenticationRequirement, customExpiryTime, expiryForAccessTime, expiryForUpdateTime, hierarchyResourcePath, resourcePath, uri| Constructor and Description |
|---|
ResourcePathCacheKey(org.apache.sling.api.SlingHttpServletRequest request,
HttpCacheConfig cacheConfig) |
ResourcePathCacheKey(String uri,
HttpCacheConfig cacheConfig) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o)
The equals method used to match up request-derived cache keys with keys in the httpcache.
|
String |
getUri()
Get URI.
|
int |
hashCode()
The hashCode for the cache key.
|
String |
toString()
The useful string representation of this cache key.
|
getAuthenticationRequirement, getExpiryForAccess, getExpiryForCreation, getExpiryForUpdate, getHierarchyResourcePath, getResourcePath, isInvalidatedBy, makeHierarchyResourcePath, parentReadObject, parentWriteObjectclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetExpiryForAccess, getExpiryForCreation, getExpiryForUpdate, getHierarchyResourcePath, isInvalidatedBypublic ResourcePathCacheKey(org.apache.sling.api.SlingHttpServletRequest request,
HttpCacheConfig cacheConfig)
public ResourcePathCacheKey(String uri, HttpCacheConfig cacheConfig)
public boolean equals(Object o)
CacheKeyequals in interface CacheKeyequals in class AbstractCacheKeyo - the object to evaluate this against.public int hashCode()
CacheKeyhashCode in interface CacheKeyhashCode in class AbstractCacheKeypublic String toString()
CacheKeyCopyright © 2013–2020 Adobe. All rights reserved.