Class ParamConverters
- java.lang.Object
-
- org.glassfish.jersey.internal.inject.ParamConverters
-
@Singleton public class ParamConverters extends Object
Container of several differentparam converter providersimplementations. The nested provider implementations encapsulate various different strategies of constructing an instance from aStringvalue.- Author:
- Paul Sandoz, Marek Potociar
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classParamConverters.AggregatedProviderAggregatedparam converter provider.static classParamConverters.CharacterProviderstatic classParamConverters.DateProviderProvider ofparam converterthat convert the supplied string into a JavaDateinstance using conversion method from thehttp date formatterutility class.static classParamConverters.InputStreamProviderProvider ofparam converterthat convert the supplied string into a JavaInputStreaminstance.static classParamConverters.OptionalCustomProviderProvider ofparam converterthat produce the Optional instance by invokingParamConverterProvider.static classParamConverters.OptionalProviderProvider ofparam converterthat produce the OptionalInt, OptionalDouble or OptionalLong instance.static classParamConverters.StringConstructorProvider ofparam converterthat produce the target Java type instance by invoking a singleStringparameter constructor on the target type.static classParamConverters.TypeFromStringProvider ofparam converterthat produce the target Java type instance by invoking a staticfromString(String)method on the target type.static classParamConverters.TypeFromStringEnumProvider ofparam converterthat produce the target Javaenumtype instance by invoking a staticfromString(String)method on the target enum type.static classParamConverters.TypeValueOfProvider ofparam converterthat produce the target Java type instance by invoking a staticvalueOf(String)method on the target type.
-
Constructor Summary
Constructors Constructor Description ParamConverters()
-