@Singleton public class ParamConverters extends Object
param converter providers
implementations. The nested provider implementations encapsulate various different
strategies of constructing an instance from a String
value.Modifier and Type | Class and Description |
---|---|
static class |
ParamConverters.AggregatedProvider
Aggregated
param converter provider . |
static class |
ParamConverters.CharacterProvider |
static class |
ParamConverters.DateProvider
Provider of
param converter that convert the supplied string into a Java
Date instance using conversion method from the
http date formatter utility class. |
static class |
ParamConverters.OptionalCustomProvider
Provider of
param converter that produce the Optional instance
by invoking ParamConverterProvider . |
static class |
ParamConverters.OptionalProvider
Provider of
param converter that produce the OptionalInt, OptionalDouble
or OptionalLong instance. |
static class |
ParamConverters.StringConstructor
Provider of
param converter that produce the target Java type instance
by invoking a single String parameter constructor on the target type. |
static class |
ParamConverters.TypeFromString
Provider of
param converter that produce the target Java type instance
by invoking a static fromString(String) method on the target type. |
static class |
ParamConverters.TypeFromStringEnum
Provider of
param converter that produce the target Java enum type instance
by invoking a static fromString(String) method on the target enum type. |
static class |
ParamConverters.TypeValueOf
Provider of
param converter that produce the target Java type instance
by invoking a static valueOf(String) method on the target type. |
Constructor and Description |
---|
ParamConverters() |
Copyright © 2007-2024, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.