Package org.spincast.plugins.routing
Class ETagDefault
java.lang.Object
org.spincast.plugins.routing.ETagDefault
- All Implemented Interfaces:
ETag
ETag default implementation.
-
Constructor Summary
ConstructorsConstructorDescriptionETagDefault(String tag) ConstructorETagDefault(String tag, boolean isWeak) ConstructorETagDefault(String tag, boolean isWeak, boolean isWildcard) Constructor -
Method Summary
Modifier and TypeMethodDescriptionbooleanGets the HTTP header value to use for this ETag.getTag()Gets the tag text.inthashCode()booleanisWeak()Is it weak?booleanIs it a wildcard ETag?booleanDoes the ETag strongly matches the other specified ETag?booleanDoes the ETag strongly or weakly matches the other specified ETag?toString()
-
Constructor Details
-
ETagDefault
Constructor -
ETagDefault
Constructor -
ETagDefault
Constructor
-
-
Method Details
-
getTag
Description copied from interface:ETagGets the tag text. -
isWeak
public boolean isWeak()Description copied from interface:ETagIs it weak? -
isWildcard
public boolean isWildcard()Description copied from interface:ETagIs it a wildcard ETag?- Specified by:
isWildcardin interfaceETag
-
equals
-
hashCode
public int hashCode() -
getHeaderValue
Description copied from interface:ETagGets the HTTP header value to use for this ETag.- Specified by:
getHeaderValuein interfaceETag
-
matches
Description copied from interface:ETagDoes the ETag strongly matches the other specified ETag?If one (or both) ETag is a wildcard, it matches.
-
matches
Description copied from interface:ETagDoes the ETag strongly or weakly matches the other specified ETag?If one (or both) ETag is a wildcard, it matches.
-
toString
-