Custom mapping of HTTP request to parameter.
- Since:
- 3.2.5
- Author:
- edgar
-
Optional Element Summary
Optional Elements
-
Element Details
-
value
Class<?> valueClass containing the mapping function. If no class is specified it looks at:- Parameter type for
fn()
method. - Or fallback to controller class.- Returns:
- Source of mapping function.
- Default:
- void.class
-
fn
String fnName of the function doing the mapping. Function must accept a single argument of typeContext
and returns type must be the parameter type. Name is optional and only required in case of conflict.- Returns:
- Name of the function doing the mapping.
- Default:
- ""
-