Class TemporalParamConverter<T extends Temporal>
- java.lang.Object
-
- org.jboss.resteasy.reactive.server.core.parameters.converters.TemporalParamConverter<T>
-
- All Implemented Interfaces:
ParameterConverter
- Direct Known Subclasses:
LocalDateParamConverter,LocalDateTimeParamConverter,LocalTimeParamConverter,OffsetDateTimeParamConverter,OffsetTimeParamConverter,YearParamConverter,ZonedDateTimeParamConverter
public abstract class TemporalParamConverter<T extends Temporal> extends Object implements ParameterConverter
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTemporalParamConverter.TemporalSupplier<T extends TemporalParamConverter<?>>
-
Constructor Summary
Constructors Constructor Description TemporalParamConverter(DateTimeFormatter formatter)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description Objectconvert(Object parameter)protected abstract Tconvert(String value)protected abstract Tconvert(String value, DateTimeFormatter formatter)voidinit(ParamConverterProviders deployment, Class<?> rawType, Type genericType, Annotation[] annotations)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.jboss.resteasy.reactive.server.core.parameters.converters.ParameterConverter
isForSingleObjectContainer
-
-
-
-
Constructor Detail
-
TemporalParamConverter
public TemporalParamConverter(DateTimeFormatter formatter)
-
-
Method Detail
-
convert
protected abstract T convert(String value, DateTimeFormatter formatter)
-
convert
public Object convert(Object parameter)
- Specified by:
convertin interfaceParameterConverter
-
init
public void init(ParamConverterProviders deployment, Class<?> rawType, Type genericType, Annotation[] annotations)
- Specified by:
initin interfaceParameterConverter
-
-