public.javadoc.org.spincast.core.routing.ETag.html Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spincast-website Show documentation
Show all versions of spincast-website Show documentation
Source code for the https://www.spincast.org website.
ETag (org.spincast:spincast-framework 1.0.0 API)
org.spincast.core.routing
Interface ETag
-
- All Known Implementing Classes:
- ETagDefault
public interface ETag
Represents an HTTP ETag.
-
-
Method Summary
All Methods Instance Methods Abstract Methods
Modifier and Type
Method and Description
String
getHeaderValue()
Gets the HTTP header value to use for this ETag.
String
getTag()
Gets the tag text.
boolean
isWeak()
Is it weak?
boolean
isWildcard()
Is it a wildcard ETag?
boolean
matches(ETag other)
Does the ETag strongly matches the other specified
ETag?
boolean
matches(ETag other,
boolean weakComparison)
Does the ETag strongly or weakly matches the other specified
ETag?
-
-
Method Detail
-
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
boolean matches(ETag other)
Does the ETag strongly matches the other specified
ETag?
If one (or both) ETag is a wildcard, it matches.
Copyright © 2019. All rights reserved.