public class ETagHelperImpl extends Object implements org.apache.olingo.server.api.etag.ETagHelper
| Constructor and Description |
|---|
ETagHelperImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
checkChangePreconditions(String eTag,
Collection<String> ifMatchHeaders,
Collection<String> ifNoneMatchHeaders) |
boolean |
checkReadPreconditions(String eTag,
Collection<String> ifMatchHeaders,
Collection<String> ifNoneMatchHeaders) |
protected ETagInformation |
createETagInformation(Collection<String> values)
Creates ETag information from the values of a HTTP header
containing a list of entity tags or a single star character, i.e.,
If-Match and If-None-Match. |
public boolean checkReadPreconditions(String eTag, Collection<String> ifMatchHeaders, Collection<String> ifNoneMatchHeaders) throws org.apache.olingo.server.api.etag.PreconditionException
checkReadPreconditions in interface org.apache.olingo.server.api.etag.ETagHelperorg.apache.olingo.server.api.etag.PreconditionExceptionpublic void checkChangePreconditions(String eTag, Collection<String> ifMatchHeaders, Collection<String> ifNoneMatchHeaders) throws org.apache.olingo.server.api.etag.PreconditionException
checkChangePreconditions in interface org.apache.olingo.server.api.etag.ETagHelperorg.apache.olingo.server.api.etag.PreconditionExceptionprotected ETagInformation createETagInformation(Collection<String> values)
If-Match and If-None-Match.values - the collection of header valuesETagInformation instanceCopyright © 2013–2015 The Apache Software Foundation. All rights reserved.