Class ParamConverters
- java.lang.Object
-
- org.glassfish.jersey.server.internal.inject.ParamConverters
-
@Singleton class ParamConverters extends java.lang.Object
Container of several differentparam converter providers
implementations. The nested provider implementations encapsulate various different strategies of constructing an instance from aString
value.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static class
ParamConverters.AbstractStringReader<T>
static class
ParamConverters.AggregatedProvider
Aggregatedparam converter provider
.static class
ParamConverters.CharacterProvider
static class
ParamConverters.DateProvider
Provider ofparam converter
that convert the supplied string into a JavaDate
instance using conversion method from thehttp date formatter
utility class.static class
ParamConverters.StringConstructor
Provider ofparam converter
that produce the target Java type instance by invoking a singleString
parameter constructor on the target type.static class
ParamConverters.TypeFromString
Provider ofparam converter
that produce the target Java type instance by invoking a staticfromString(String)
method on the target type.static class
ParamConverters.TypeFromStringEnum
Provider ofparam converter
that produce the target Javaenum
type instance by invoking a staticfromString(String)
method on the target enum type.static class
ParamConverters.TypeValueOf
Provider ofparam converter
that produce the target Java type instance by invoking a staticvalueOf(String)
method on the target type.
-
Constructor Summary
Constructors Constructor Description ParamConverters()
-