public class IfMatch extends AbstractIfMatch
| Modifier and Type | Method and Description |
|---|---|
String |
getHeaderName()
Returns the header name that must be set in the request.
|
void |
matchAgainst(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 String IF_MATCH
public IfMatch(String value)
public void matchAgainst(String matchValue)
AbstractIfMatchmatchAgainst in class AbstractIfMatchmatchValue - the value to match againstpublic String getHeaderName()
HeadergetHeaderName in class HeaderCopyright © 2012-2016 42 BV. All Rights Reserved.