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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Object[]
convertParameters(java.util.Map<java.lang.String,java.lang.Object> values, Tuple2<java.util.List<Tuple2<java.lang.String,java.lang.String>>,java.util.Map<java.lang.String,java.lang.Class<?>>> pinfos, java.lang.Object request)
Convert parameters.
-
-
-
Method Detail
-
convertParameters
java.lang.Object[] convertParameters(java.util.Map<java.lang.String,java.lang.Object> values, Tuple2<java.util.List<Tuple2<java.lang.String,java.lang.String>>,java.util.Map<java.lang.String,java.lang.Class<?>>> pinfos, java.lang.Object request) throws java.lang.Exception
Convert parameters.- Parameters:
values
- The values map to convert.pinfos
- The parameter infos (i.e. annotation meta info). Listcontext
- The context (could be the http servlet request or a custom container request).- Returns:
- The converted parameters.
- Throws:
java.lang.Exception
-
-