@Target(value={PARAMETER,METHOD})
@Retention(value=RUNTIME)
@Documented
public @interface Payloads
Example:
void foo(@Payloads("city.name") List<String> cityName)
- will map the value of the 'name' property of the 'city'
property of all the payload objects in the input list.
Modifier and Type | Optional Element and Description |
---|---|
java.lang.String |
value
Expression for matching against nested properties of the payloads.
|