public interface Router
Modifier and Type | Method and Description |
---|---|
void |
init(java.lang.String site)
Initialize the router with the site
|
java.lang.String |
link(Env env,
Id id,
Arg... args)
Generate the link to an asset
|
Call |
route(Env env,
URL url)
Route an asset
|
Call |
route(ICS ics,
java.lang.String path,
java.lang.String query)
Route requests
|
void init(java.lang.String site)
site
- Call route(ICS ics, java.lang.String path, java.lang.String query)
ics
- site
- path
- query
-