Package org.spincast.plugins.routing
Class ETagDefault
java.lang.Object
org.spincast.plugins.routing.ETagDefault
- All Implemented Interfaces:
ETag
ETag default implementation.
-
Constructor Summary
ConstructorDescriptionETagDefault
(String tag) ConstructorETagDefault
(String tag, boolean isWeak) ConstructorETagDefault
(String tag, boolean isWeak, boolean isWildcard) Constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Gets the HTTP header value to use for this ETag.getTag()
Gets the tag text.int
hashCode()
boolean
isWeak()
Is it weak?boolean
Is it a wildcard ETag?boolean
Does the ETag strongly matches the other specified ETag?boolean
Does 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:ETag
Gets the tag text. -
isWeak
public boolean isWeak()Description copied from interface:ETag
Is it weak? -
isWildcard
public boolean isWildcard()Description copied from interface:ETag
Is it a wildcard ETag?- Specified by:
isWildcard
in interfaceETag
-
equals
-
hashCode
public int hashCode() -
getHeaderValue
Description copied from interface:ETag
Gets the HTTP header value to use for this ETag.- Specified by:
getHeaderValue
in interfaceETag
-
matches
Description copied from interface:ETag
Does the ETag strongly matches the other specified ETag?If one (or both) ETag is a wildcard, it matches.
-
matches
Description copied from interface:ETag
Does the ETag strongly or weakly matches the other specified ETag?If one (or both) ETag is a wildcard, it matches.
-
toString
-