public class ETag extends ScimTextNode
| Modifier and Type | Field and Description |
|---|---|
static String |
WEAK_IDENTIFIER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o)
comparison of ETag's must be done due to the following rules
+--------+--------+-------------------+-----------------+
| ETag 1 | ETag 2 | Strong Comparison | Weak Comparison |
+--------+--------+-------------------+-----------------+
| W/"1" | W/"1" | no match | match |
| W/"1" | W/"2" | no match | no match |
| W/"1" | "1" | no match | match |
| "1" | "1" | match | match |
+--------+--------+-------------------+-----------------+
|
String |
getEntityTag() |
static ETag |
newInstance(String version)
a creation method especially used with the method
ScimObjectNode.getStringAttribute(String, Class) |
static ETag |
parseETag(String version)
checks the given string and parses it into an entity tag
|
String |
toPrettyString() |
String |
toString() |
appendQuoted, asBoolean, asDouble, asInt, asLong, asText, asText, asToken, binaryValue, getBinaryValue, getNodeType, hashCode, serialize, textValue, valueOf_at, deepCopy, findParent, findParents, findValue, findValues, findValuesAsText, get, get, has, has, hasNonNull, hasNonNull, isEmpty, path, path, serializeWithTypefindPath, numberType, required, required, traverse, traverse_reportRequiredViolation, _this, asBoolean, asDouble, asInt, asLong, at, at, bigIntegerValue, booleanValue, canConvertToInt, canConvertToLong, decimalValue, doubleValue, elements, equals, fieldNames, fields, findParents, findValues, findValuesAsText, floatValue, intValue, isArray, isBigDecimal, isBigInteger, isBinary, isBoolean, isContainerNode, isDouble, isFloat, isFloatingPointNumber, isInt, isIntegralNumber, isLong, isMissingNode, isNull, isNumber, isObject, isPojo, isShort, isTextual, isValueNode, iterator, longValue, numberValue, require, requiredAt, requiredAt, requireNonNull, shortValue, size, with, withArrayclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetAttributeDescription, getAttributeName, getCanonicalValues, getMutability, getReferenceTypes, getReturned, getSchemaAttribute, getScimNodeName, getUniqueness, getValueType, isCaseExact, isMultiValued, isRequiredforEach, spliteratorpublic static final String WEAK_IDENTIFIER
public static ETag newInstance(String version)
ScimObjectNode.getStringAttribute(String, Class)version - an eTag that should be parsedpublic static ETag parseETag(String version)
version - the version stringpublic String getEntityTag()
public String toString()
toString in class com.fasterxml.jackson.databind.node.BaseJsonNodepublic String toPrettyString()
toPrettyString in class com.fasterxml.jackson.databind.node.BaseJsonNodepublic boolean equals(Object o)
+--------+--------+-------------------+-----------------+
| ETag 1 | ETag 2 | Strong Comparison | Weak Comparison |
+--------+--------+-------------------+-----------------+
| W/"1" | W/"1" | no match | match |
| W/"1" | W/"2" | no match | no match |
| W/"1" | "1" | no match | match |
| "1" | "1" | match | match |
+--------+--------+-------------------+-----------------+
equals in class com.fasterxml.jackson.databind.node.TextNodeCopyright © 2020. All rights reserved.