public class ObjectLastModified extends DateHeader
| Modifier and Type | Field and Description |
|---|---|
static String |
LAST_MODIFIED |
| Constructor and Description |
|---|
ObjectLastModified(Date value) |
ObjectLastModified(Long value) |
ObjectLastModified(String value) |
| Modifier and Type | Method and Description |
|---|---|
static ObjectLastModified |
fromResponse(org.apache.http.HttpResponse response) |
String |
getHeaderName()
Returns the header name that must be set in the request.
|
String |
getHeaderValue()
Returns the value that must be set in the request.
|
convertDateToString, convertStringToDate, getDateconvertResponseHeader, getResponseHeadersStartingWith, headerNotEmpty, setHeaderpublic static final String LAST_MODIFIED
public ObjectLastModified(Long value)
public ObjectLastModified(String value) throws org.apache.http.impl.cookie.DateParseException
org.apache.http.impl.cookie.DateParseExceptionpublic ObjectLastModified(Date value)
public String getHeaderValue()
HeadergetHeaderValue in class Headerpublic String getHeaderName()
HeadergetHeaderName in class Headerpublic static ObjectLastModified fromResponse(org.apache.http.HttpResponse response)
Copyright © 2012-2016 42 BV. All Rights Reserved.