public class Dispatch extends Object
Dispatch is the only Tapestry Page object, and it is responsible for three tasks:
https://fascinator.usq.edu.au/trac/wiki/Fascinator/Documents/Portal/ JavaCore#TapestryPages
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_RESOURCE
The default resource if none is specified.
|
| Constructor and Description |
|---|
Dispatch() |
| Modifier and Type | Method and Description |
|---|---|
String |
getBestMatchResource(String resource)
Parse the request URL to find the best matching resource from the portal.
|
org.apache.tapestry5.StreamResponse |
onActivate(Object... params)
Entry point for Tapestry to send page requests.
|
public static final String DEFAULT_RESOURCE
public org.apache.tapestry5.StreamResponse onActivate(Object... params)
params - : An array of request parameters from Tapestrypublic String getBestMatchResource(String resource)
resource - : The resource we are looking forCopyright © 2009-2016. All Rights Reserved.