Package org.apache.juneau.http.header
Class EntityTags
java.lang.Object
org.apache.juneau.http.header.EntityTags
A list of
EntityTag
beans.-
Field Summary
-
Constructor Summary
ConstructorDescriptionEntityTags
(String value) Constructor.EntityTags
(EntityTag... value) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionstatic EntityTags
Returns a parsed entity tags header value.static EntityTags
Returns a parsed entity tags header value.toArray()
Returns the entity tags in this object as an array.toList()
Returns the entity tags in this object as a list.toString()
-
Field Details
-
EMPTY
Represents an empty entity tags object.
-
-
Constructor Details
-
EntityTags
Constructor.- Parameters:
value
- The header value.
-
EntityTags
Constructor.- Parameters:
value
- The header value.
-
-
Method Details
-
of
Returns a parsed entity tags header value.- Parameters:
value
- The raw header value.- Returns:
- A parsed header value.
-
of
Returns a parsed entity tags header value.- Parameters:
value
- The header value.- Returns:
- A parsed header value.
-
toList
Returns the entity tags in this object as a list.Returns an unmodifiable list.
- Returns:
- The entity tags in this object as a list. Can be
null .
-
toArray
Returns the entity tags in this object as an array.Returns a copy of the entity tags.
- Returns:
- The entity tags in this object as an array. Can be
null .
-
toString
-