Modifier and Type | Method and Description |
---|---|
String |
getEntityValue()
Returns the validator value stripped of quotes and weak tag.
|
boolean |
isAny()
Returns
|
boolean |
isWeak()
Returns
|
static EntityTag |
of(Object value)
Creator.
|
String |
toString() |
public EntityTag(String value)
value
- The validator string value.IllegalArgumentException
- If attempting to set an invalid entity tag value.public static EntityTag of(Object value)
value
- The validator string value.EntityTag
object or IllegalArgumentException
- If attempting to set an invalid entity tag value.public String getEntityValue()
public boolean isWeak()
public boolean isAny()
Copyright © 2016–2020 The Apache Software Foundation. All rights reserved.