public static interface EntityTag.Builder extends Appendable
EntityTag instance| Modifier and Type | Method and Description |
|---|---|
EntityTag.Builder |
append(char c) |
EntityTag.Builder |
append(CharSequence text)
Append text to the ETag value
|
EntityTag.Builder |
append(CharSequence text,
int start,
int length) |
EntityTag |
build()
Build the immutable
EntityTag instance |
EntityTag.Builder |
digest(boolean digest)
Indicates whether the value should be hashed by a secure hash.
|
EntityTag.Builder |
strength(EntityTag.Strength strength)
Set
EntityTag.Strength of the EntityTag. |
EntityTag.Builder strength(EntityTag.Strength strength)
strength - The Entity Tag strengthEntityTag.Builder append(char c)
append in interface AppendableEntityTag.Builder append(CharSequence text, int start, int length)
append in interface AppendableEntityTag.Builder append(CharSequence text)
append in interface Appendabletext - The text to appendEntityTag.Builder digest(boolean digest)
digest - If true, values will be securely hashed, if false they will not