Package org.spincast.core.routing
Interface ETag
- All Known Implementing Classes:
ETagDefault
public interface ETag
Represents an HTTP ETag.
-
Method Summary
Modifier and TypeMethodDescriptionGets the HTTP header value to use for this ETag.getTag()
Gets the tag text.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?
-
Method Details
-
getTag
String getTag()Gets the tag text. -
isWeak
boolean isWeak()Is it weak? -
isWildcard
boolean isWildcard()Is it a wildcard ETag? -
getHeaderValue
String getHeaderValue()Gets the HTTP header value to use for this ETag. -
matches
Does the ETag strongly matches the other specified ETag?If one (or both) ETag is a wildcard, it matches.
-
matches
Does the ETag strongly or weakly matches the other specified ETag?If one (or both) ETag is a wildcard, it matches.
-