| Modifier and Type | Field and Description |
|---|---|
String |
action |
Map<String,String> |
localArgs |
String |
path |
String |
routesFile |
int |
routesFileLine |
| Constructor and Description |
|---|
ExoRouter.Route() |
| Modifier and Type | Method and Description |
|---|---|
void |
addParams(String params) |
void |
compute() |
Map<String,String> |
matches(String path)
Base on defined Pattern, when provided URI path,
this method will extract all of parameters path value
in given path which reflects in defined Pattern
Example:
defined Pattern = "/{pageID}/topic/{topicID}"
invokes:: matches("1256/topic/topic544343");
result: Map
|
public String path
public String action
public String routesFile
public int routesFileLine
public void compute()
public void addParams(String params)
public Map<String,String> matches(String path)
path - : given URI pathCopyright © 2003–2015 eXo Platform SAS. All rights reserved.