public class RequestPathCacheKey extends AbstractCacheKey implements CacheKey
Generated keys contain resource path, selector and extension.
authenticationRequirement, customExpiryTime, expiryForAccessTime, expiryForUpdateTime, hierarchyResourcePath, resourcePath, uri| Constructor and Description |
|---|
RequestPathCacheKey(org.apache.sling.api.SlingHttpServletRequest request,
HttpCacheConfig cacheConfig) |
RequestPathCacheKey(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 |
getExtension() |
String |
getSelector() |
int |
hashCode()
The hashCode for the cache key.
|
String |
toString()
The useful string representation of this cache key.
|
getAuthenticationRequirement, getExpiryForAccess, getExpiryForCreation, getExpiryForUpdate, getHierarchyResourcePath, getResourcePath, getUri, isInvalidatedBy, makeHierarchyResourcePath, parentReadObject, parentWriteObjectclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetExpiryForAccess, getExpiryForCreation, getExpiryForUpdate, getHierarchyResourcePath, getUri, isInvalidatedBypublic RequestPathCacheKey(org.apache.sling.api.SlingHttpServletRequest request,
HttpCacheConfig cacheConfig)
public RequestPathCacheKey(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()
CacheKeypublic String getSelector()
public String getExtension()
Copyright © 2013–2020 Adobe. All rights reserved.