Class PathJsonReader
- java.lang.Object
-
- io.vertigo.vega.plugins.webservice.handler.reader.PathJsonReader
-
- All Implemented Interfaces:
JsonReader<String>
public final class PathJsonReader extends Object implements JsonReader<String>
-
-
Constructor Summary
Constructors Constructor Description PathJsonReader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
extractData(javax.servlet.http.HttpServletRequest request, WebServiceParam webServiceParam, WebServiceCallContext routeContext)
Extract parameter value from request as readType.WebServiceParam.WebServiceParamType[]
getSupportedInput()
Class<String>
getSupportedOutput()
-
-
-
Method Detail
-
getSupportedInput
public WebServiceParam.WebServiceParamType[] getSupportedInput()
- Specified by:
getSupportedInput
in interfaceJsonReader<String>
- Returns:
- Supported type of parameter in request
-
getSupportedOutput
public Class<String> getSupportedOutput()
- Specified by:
getSupportedOutput
in interfaceJsonReader<String>
- Returns:
- Output classe supported
-
extractData
public String 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.- Specified by:
extractData
in interfaceJsonReader<String>
- Parameters:
request
- RequestwebServiceParam
- Param infosrouteContext
- routeContext- Returns:
- output value
-
-