public interface ETagFactory
| Modifier and Type | Method and Description |
|---|---|
ETag |
create(String tag)
Creates a strong ETag, using a specific tag.
|
ETag |
create(String tag,
boolean isWeak)
Creates a strong or weak ETag, using a specific tag.
|
ETag |
create(String tag,
boolean isWeak,
boolean isWildcard)
Creates a strong or weak ETag, using a specific tag.
|
ETag |
deserializeHeaderValue(String etagHeader)
Creates an ETag object from an already formatted ETag header.
|
ETag create(String tag)
eTag - the tag to use.ETag create(String tag, boolean isWeak)
eTag - the tag to use.isWeak - is the ETag weak?ETag create(String tag, boolean isWeak, boolean isWildcard)
eTag - the tag to use.isWeak - is the ETag weak?isWildcard - is the ETag a wildcard? If so, the 'tag' must be
"*" or be empty.Copyright © 2019. All rights reserved.