Annotation Type Optional
-
@Target(PARAMETER) @Retention(RUNTIME) @Documented public @interface Optional
If a view handler parameter is annotated withOptional, it also acceptsnullif there is no matching parameter value. Otherwise, a missing parameter value leads to aPageNotFoundException.- Author:
- Richard "Shred" Körber