Class ETagParser

java.lang.Object
org.apache.olingo.server.core.etag.ETagParser

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.