Class DateProvider
java.lang.Object
org.glassfish.jersey.message.internal.DateProvider
- All Implemented Interfaces:
RuntimeDelegate.HeaderDelegate<Date>
,HeaderDelegateProvider<Date>
Date
header delegate provider
.- Author:
- Paul Sandoz, Marek Potociar
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
DateProvider
public DateProvider()
-
-
Method Details
-
supports
Description copied from interface:HeaderDelegateProvider
Ascertain if the Provider supports a particular type.- Specified by:
supports
in interfaceHeaderDelegateProvider<Date>
- Parameters:
type
- the type that is to be supported.- Returns:
- true if the type is supported, otherwise false.
-
toString
- Specified by:
toString
in interfaceRuntimeDelegate.HeaderDelegate<Date>
-
fromString
- Specified by:
fromString
in interfaceRuntimeDelegate.HeaderDelegate<Date>
-