@Singleton public static class ParamConverters.TypeValueOf extends Object implements ParamConverterProvider
param converter
that produce the target Java type instance
by invoking a static valueOf(String)
method on the target type.Modifier and Type | Method and Description |
---|---|
<T> ParamConverter<T> |
getConverter(Class<T> rawType,
Type genericType,
Annotation[] annotations) |
public <T> ParamConverter<T> getConverter(Class<T> rawType, Type genericType, Annotation[] annotations)
getConverter
in interface ParamConverterProvider
Copyright © 2007-2024, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.