Modifier and Type | Method and Description |
---|---|
String |
formattedTag()
Return the fully formatted tag including "W/" prefix and quotes.
|
boolean |
isWildcard()
Whether this a wildcard tag matching to any entity tag value.
|
static List<ETag> |
parse(String source)
Parse entity tags from an "If-Match" or "If-None-Match" header.
|
String |
tag() |
String |
toString() |
boolean |
weak() |
public ETag(String tag, boolean weak)