protected static class FilterChainManager.TargetCacheKey
extends java.lang.Object
hashCode and equals methods to return a consistent hash for comparison.| Modifier | Constructor and Description |
|---|---|
protected |
TargetCacheKey() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object key) |
javax.servlet.DispatcherType |
getDispatcherType() |
java.lang.String |
getTargetPath() |
int |
hashCode()
The hash code for a cache key is calculated using the target path and dispatcher type.
|
void |
setDispatcherType(javax.servlet.DispatcherType dispatcherType) |
void |
setTargetPath(java.lang.String targetPath) |
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object key)
equals in class java.lang.Objectpublic java.lang.String getTargetPath()
public void setTargetPath(java.lang.String targetPath)
public javax.servlet.DispatcherType getDispatcherType()
public void setDispatcherType(javax.servlet.DispatcherType dispatcherType)
Copyright © 2017. All Rights Reserved.