public abstract class AbstractIfSince extends DateHeader
| Constructor and Description |
|---|
AbstractIfSince(Date sinceDate) |
AbstractIfSince(Long milliseconds) |
AbstractIfSince(String sinceDate) |
| Modifier and Type | Method and Description |
|---|---|
String |
getHeaderValue()
Returns the value that must be set in the request.
|
Date |
getSinceDate() |
abstract 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.
|
convertDateToString, convertStringToDate, getDateconvertResponseHeader, getHeaderName, getResponseHeadersStartingWith, headerNotEmpty, setHeaderpublic AbstractIfSince(Long milliseconds)
public AbstractIfSince(String sinceDate) throws org.apache.http.impl.cookie.DateParseException
org.apache.http.impl.cookie.DateParseExceptionpublic AbstractIfSince(Date sinceDate)
public Date getSinceDate()
public abstract void sinceAgainst(Date modificationDate)
modificationDate - the value to match againstpublic String getHeaderValue()
HeadergetHeaderValue in class HeaderCopyright © 2012-2016 42 BV. All Rights Reserved.