Package org.apache.ofbiz.ws.rs.spi.impl
Class JsonifiedParamConverterProvider
java.lang.Object
org.apache.ofbiz.ws.rs.spi.impl.JsonifiedParamConverterProvider
- All Implemented Interfaces:
javax.ws.rs.ext.ParamConverterProvider
@Provider
public class JsonifiedParamConverterProvider
extends Object
implements javax.ws.rs.ext.ParamConverterProvider
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription<T> javax.ws.rs.ext.ParamConverter<T>
getConverter
(Class<T> rawType, Type genericType, Annotation[] annotations) Gets converter.
-
Constructor Details
-
JsonifiedParamConverterProvider
public JsonifiedParamConverterProvider()
-
-
Method Details
-
getConverter
public <T> javax.ws.rs.ext.ParamConverter<T> getConverter(Class<T> rawType, Type genericType, Annotation[] annotations) Gets converter.- Specified by:
getConverter
in interfacejavax.ws.rs.ext.ParamConverterProvider
- Type Parameters:
T
- the type parameter- Parameters:
rawType
- the raw typegenericType
- the generic typeannotations
- the annotations- Returns:
- the converter
-