Class DateHeaderDelegate
java.lang.Object
org.exoplatform.services.rest.header.AbstractHeaderDelegate<Date>
org.exoplatform.services.rest.impl.header.DateHeaderDelegate
- All Implemented Interfaces:
javax.ws.rs.ext.RuntimeDelegate.HeaderDelegate<Date>
- Version:
- $Id: $
- Author:
- Andrey Parfonov
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfromString(String header) Parse date header, header string must be in one of HTTP-date format see HTTP/1.1 documentation otherwise IllegalArgumentException will be thrown.support()RepresentsDateas String in format of RFC 1123 .
-
Constructor Details
-
DateHeaderDelegate
public DateHeaderDelegate()
-
-
Method Details
-
support
- Specified by:
supportin classAbstractHeaderDelegate<Date>- Returns:
- the class which is supported by HeadeDelegate instance.
-
fromString
Parse date header, header string must be in one of HTTP-date format see HTTP/1.1 documentation otherwise IllegalArgumentException will be thrown. -
toString
RepresentsDateas String in format of RFC 1123 .
-