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