Interface JsonReader<O>
-
- Type Parameters:
O
- Output type
- All Known Implementing Classes:
BodyJsonReader
,HeaderJsonReader
,InnerBodyJsonReader
,PathJsonReader
,QueryJsonReader
,RequestJsonReader
public interface JsonReader<O>
Read request to extract a not converted parameter.- Author:
- npiedeloup
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description O
extractData(javax.servlet.http.HttpServletRequest request, WebServiceParam webServiceParam, WebServiceCallContext routeContext)
Extract parameter value from request as readType.WebServiceParam.WebServiceParamType[]
getSupportedInput()
Class<O>
getSupportedOutput()
-
-
-
Method Detail
-
getSupportedInput
WebServiceParam.WebServiceParamType[] getSupportedInput()
- Returns:
- Supported type of parameter in request
-
extractData
O extractData(javax.servlet.http.HttpServletRequest request, WebServiceParam webServiceParam, WebServiceCallContext routeContext)
Extract parameter value from request as readType. This doesn't convert it to value object, it's only extraction, the converter do the convert task.- Parameters:
request
- RequestwebServiceParam
- Param infosrouteContext
- routeContext- Returns:
- output value
-
-