public class ETagParser extends Object
Parses the values of HTTP header fields that contain a list of entity tags or a
single star character, i.e., If-Match and If-None-Match.
See RFC 7232 for details; there the following grammar is defined:
If-Match = "*" / 1#entity-tag If-None-Match = "*" / 1#entity-tag entity-tag = [ weak ] opaque-tag weak = %x57.2F ; "W/", case-sensitive opaque-tag = DQUOTE *etagc DQUOTE etagc = %x21 / %x23-7E / %x80-FF
Values with illegal syntax do not contribute to the result but no exception is thrown.
| Modifier and Type | Method and Description |
|---|---|
protected static Collection<String> |
parse(Collection<String> values) |
protected static Collection<String> parse(Collection<String> values)
Copyright © 2023. All rights reserved.