|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Target(value=TYPE) @Retention(value=RUNTIME) @Documented public @interface MountPath
Specify the primary and alternate paths to mount a Page.
If no value (or an empty string) is provided, the AnnotatedMountScanner class will resolve a
value based on the page class (by default, pageClass.getSimpleName()).
The primary mount path is listed ahead of alternate paths in any list returned by
AnnotatedMountScanner. This is done because of the
implementation of
WebRequestCodingStrategy
getMountEncoder() returns the first mount that matches the given Page. Thus, when determining
which path to mount a page on, it always picks the first one found.
| Optional Element Summary | |
|---|---|
String[] |
alt
|
String |
value
|
public abstract String value
pageClass.getSimpleName()).public abstract String[] alt
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||