Package org.apache.abdera.util
Class EntityTag
java.lang.Object
org.apache.abdera.util.EntityTag
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<EntityTag>
@Deprecated(since="2021-07-29")
public class EntityTag
extends Object
implements Cloneable, Serializable, Comparable<EntityTag>
Deprecated.
This API is deprecated as Apache Abdera is a retired project since 2017.
Implements an EntityTag.
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintDeprecated.booleanDeprecated.static EntityTagDeprecated.Utility method for generating ETags.getTag()Deprecated.inthashCode()Deprecated.booleanisWeak()Deprecated.booleanisWild()Deprecated.static booleanDeprecated.static booleanDeprecated.static booleanDeprecated.Checks that the passed in ETag matches the ETag generated by the generate methodstatic booleanDeprecated.static booleanmatchesAny(String tag1, String tags) Deprecated.static booleanmatchesAny(String tag1, String tags, boolean weak) Deprecated.static booleanmatchesAny(EntityTag tag1, String tags) Deprecated.static booleanmatchesAny(EntityTag tag1, String tags, boolean weak) Deprecated.static booleanmatchesAny(EntityTag tag1, EntityTag[] tags) Deprecated.static booleanmatchesAny(EntityTag tag1, EntityTag[] tags, boolean weak) Deprecated.static EntityTagDeprecated.static EntityTag[]Deprecated.toString()Deprecated.static StringDeprecated.static StringDeprecated.
-
Field Details
-
WILD
Deprecated.
-
-
Constructor Details
-
EntityTag
Deprecated. -
EntityTag
Deprecated.
-
-
Method Details
-
parse
Deprecated. -
parseTags
Deprecated. -
matchesAny
Deprecated. -
matchesAny
Deprecated. -
matchesAny
Deprecated. -
matchesAny
Deprecated. -
matchesAny
Deprecated. -
matchesAny
Deprecated. -
matches
Deprecated. -
matches
Deprecated. -
matches
Deprecated. -
isWild
public boolean isWild()Deprecated. -
getTag
Deprecated. -
isWeak
public boolean isWeak()Deprecated. -
toString
Deprecated. -
hashCode
public int hashCode()Deprecated. -
equals
Deprecated. -
generate
Deprecated.Utility method for generating ETags. Works by concatenating the UTF-8 bytes of the provided strings then generating an MD5 hash of the result. -
matches
Deprecated.Checks that the passed in ETag matches the ETag generated by the generate method -
toString
Deprecated. -
toString
Deprecated. -
compareTo
Deprecated.- Specified by:
compareToin interfaceComparable<EntityTag>
-