Interface IParameterMapper2
public interface IParameterMapper2
The parameter mapper interface is used for mappers that
take as input a parameter array and produce a converted one
as output (n:m).
-
Method Summary
-
Method Details
-
convertParameters
Object[] convertParameters(Map<String, Object> values, jadex.common.Tuple2<List<jadex.common.Tuple2<String, throws ExceptionString>>, Map<String, Class<?>>> pinfos, Object request) Convert parameters.- Parameters:
values
- The values map to convert.pinfos
- The parameter infos (i.e. annotation meta info). Listinvalid input: '<'Tuple2invalid input: '<'String, String>>: says "kind of param" name, path form, query, no and name of parameter Mapinvalid input: '<'String, Classinvalid input: '<'?>>: says for this named param use this type (from method param)context
- The context (could be the http servlet request or a custom container request).- Returns:
- The converted parameters.
- Throws:
Exception
-