| Constructor and Description |
|---|
DateHeaderDelegate() |
| Modifier and Type | Method and Description |
|---|---|
Date |
fromString(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.
|
String |
toString(Date date)
Represents
Date as String in format of RFC 1123. |
public Date fromString(String header)
fromString in interface javax.ws.rs.ext.RuntimeDelegate.HeaderDelegate<Date>Copyright © 2012–2016 Codenvy, S.A.. All rights reserved.