mount(new PatternMountedMapper("people/${personId:\\d+}", PersonPage.class));This will map URLs like {@code people/12345} but yield a 404 not found for something like{@code people/abc} since {@code abc} doesn't match the {@code \d+} regular expression. @since 3.0
|
|