public class EntityValidator extends Object
ETag: "123456789" – A strong ETag validator ETag: W/"123456789" – A weak ETag validator
Modifier | Constructor and Description |
---|---|
protected |
EntityValidator(String value)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
asString()
Returns the validator value stripped of quotes and weak tag.
|
boolean |
isAny()
Returns
|
boolean |
isWeak()
Returns
|
String |
toString() |
protected EntityValidator(String value)
value
- The validator string value.public String asString()
public boolean isWeak()
public boolean isAny()
Copyright © 2016–2020 The Apache Software Foundation. All rights reserved.