public class IfUnmodifiedSince extends AbstractIfSince
| Modifier and Type | Field and Description |
|---|---|
static String |
IF_UNMODIFIED_SINCE |
| Constructor and Description |
|---|
IfUnmodifiedSince(Date date) |
IfUnmodifiedSince(Long milliseconds) |
IfUnmodifiedSince(String sinceDate) |
| Modifier and Type | Method and Description |
|---|---|
String |
getHeaderName()
Returns the header name that must be set in the request.
|
void |
sinceAgainst(Date modificationDate)
Makes a check against the sinceDate and throws an exception (with the proper HTTP status code) if the value
means no content should be returned.
|
getHeaderValue, getSinceDateconvertDateToString, convertStringToDate, getDateconvertResponseHeader, getResponseHeadersStartingWith, headerNotEmpty, setHeaderpublic static final String IF_UNMODIFIED_SINCE
public IfUnmodifiedSince(Long milliseconds)
public IfUnmodifiedSince(String sinceDate) throws org.apache.http.impl.cookie.DateParseException
org.apache.http.impl.cookie.DateParseExceptionpublic IfUnmodifiedSince(Date date)
public void sinceAgainst(Date modificationDate)
AbstractIfSincesinceAgainst in class AbstractIfSincemodificationDate - the value to match againstpublic String getHeaderName()
HeadergetHeaderName in class HeaderCopyright © 2012-2016 42 BV. All Rights Reserved.