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