Class ParamConverters.DateProvider
java.lang.Object
org.glassfish.jersey.internal.inject.ParamConverters.DateProvider
- All Implemented Interfaces:
ParamConverterProvider
- Enclosing class:
- ParamConverters
@Singleton
public static class ParamConverters.DateProvider
extends Object
implements ParamConverterProvider
Provider of
param converter
that convert the supplied string into a Java
Date
instance using conversion method from the
http date formatter
utility class.-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescription<T> ParamConverter<T>
getConverter
(Class<T> rawType, Type genericType, Annotation[] annotations) protected <T> T
-
Field Details
-
canReturnNull
protected final boolean canReturnNull
-
-
Method Details
-
getConverter
public <T> ParamConverter<T> getConverter(Class<T> rawType, Type genericType, Annotation[] annotations) - Specified by:
getConverter
in interfaceParamConverterProvider
-
nullOrThrow
protected <T> T nullOrThrow()
-