Interface JsonConverter
-
- All Known Implementing Classes:
DefaultJsonConverter
,DtListDeltaJsonConverter
,DtListJsonConverter
,DtObjectJsonConverter
,ImplicitJsonConverter
,PrimitiveJsonConverter
,VFileJsonConverter
public interface JsonConverter
Converter source object into value object and put it into RouteContext.- Author:
- npiedeloup
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
canHandle(Class<?> paramClass)
Class<?>[]
getSupportedInputs()
void
populateWebServiceCallContext(Object source, WebServiceParam webServiceParam, WebServiceCallContext routeContext)
Converter source object into value object and put it into RouteContext.
-
-
-
Method Detail
-
canHandle
boolean canHandle(Class<?> paramClass)
- Parameters:
paramClass
- Class to test- Returns:
- If this converter can output this type of data.
-
populateWebServiceCallContext
void populateWebServiceCallContext(Object source, WebServiceParam webServiceParam, WebServiceCallContext routeContext)
Converter source object into value object and put it into RouteContext.- Parameters:
source
- SourcewebServiceParam
- ParamrouteContext
- RouteContext
-
getSupportedInputs
Class<?>[] getSupportedInputs()
- Returns:
- Input types
-
-