@Contract(threading=IMMUTABLE) public final class ETag extends Object
Constructor and Description |
---|
ETag(String value) |
ETag(String value,
ValidatorType type) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
void |
format(org.apache.hc.core5.util.CharArrayBuffer buf) |
static ETag |
get(org.apache.hc.core5.http.MessageHeaders message) |
ValidatorType |
getType() |
String |
getValue() |
int |
hashCode() |
static ETag |
parse(org.apache.hc.core5.http.Header h) |
static ETag |
parse(String s) |
static boolean |
strongCompare(ETag t1,
ETag t2) |
String |
toString() |
static boolean |
weakCompare(ETag t1,
ETag t2) |
public ETag(String value, ValidatorType type)
public ETag(String value)
public ValidatorType getType()
public String getValue()
public static ETag parse(org.apache.hc.core5.http.Header h)
public static ETag get(org.apache.hc.core5.http.MessageHeaders message)
@Internal public void format(org.apache.hc.core5.util.CharArrayBuffer buf)
Copyright © 1999–2021 The Apache Software Foundation. All rights reserved.