Constructor and Description |
---|
Router() |
Modifier and Type | Method and Description |
---|---|
Call |
call(java.lang.String name,
Arg... args)
Create a call to an element
|
java.lang.String |
getSite() |
void |
init(java.lang.String site)
Initialize the router with the site
|
abstract java.lang.String |
link(Env env,
Id id,
Arg... args)
Link an asset
|
abstract Call |
route(Env env,
URL url)
Route an asset
|
Call |
route(ICS ics,
java.lang.String _path,
java.lang.String _query)
Route requests
|
public void init(java.lang.String site)
Router
public java.lang.String getSite()
public Call route(ICS ics, java.lang.String _path, java.lang.String _query)
Router
public Call call(java.lang.String name, Arg... args)
name
- args
-