ParamConverter instances.
Providers implementing ParamConverterProvider contract must be either programmatically
registered in a JAX-RS runtime or must be annotated with
@Provider annotation to be automatically discovered
by the JAX-RS runtime during a provider scanning phase.
| Modifier and Type | Method and Description |
|---|---|
| public < the supported Java type convertible to/from a T> ParamConverterString format. | Returns: the string converter, otherwisenull.the raw type of the object to be converted. rawType, Type the type of object to be converted. E.g. if an String value
representing the injected request parameter
is to be converted into a method parameter, this will be the
formal type of the method parameter as returned by genericType, Annotation[] Class.getGenericParameterTypes.an array of the annotations associated with the convertible
parameter instance. E.g. if a string value is to be converted into a method parameter,
this would be the annotations on that parameter as returned by
annotations)java.lang.reflect.Method#getParameterAnnotations.Obtain a |
| getConverter | back to summary |
|---|---|
| public <T> ParamConverter Obtain a
| |