public class IfNoneMatch extends AbstractIfMatch
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
IF_NONE_MATCH |
| Constructor and Description |
|---|
IfNoneMatch(java.lang.String value) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getHeaderName()
Returns the header name that must be set in the request.
|
void |
matchAgainst(java.lang.String matchValue)
Makes a check against the matchValue and throws an exception (with the proper HTTP status code) if the value
means no content should be returned.
|
getHeaderValueconvertResponseHeader, getResponseHeadersStartingWith, headerNotEmpty, setHeaderpublic static final java.lang.String IF_NONE_MATCH
public void matchAgainst(java.lang.String matchValue)
AbstractIfMatchmatchAgainst in class AbstractIfMatchmatchValue - the value to match againstpublic java.lang.String getHeaderName()
HeadergetHeaderName in class HeaderCopyright © 2012-2020 42 BV. All Rights Reserved.