| Constructor and Description |
|---|
SubMapper(Mapper mapper,
Object handler) |
| Modifier and Type | Method and Description |
|---|---|
void |
connect(String url,
String[] methods,
String action)
Connect a URL to the framework's url router, using handler that this
submapper is initialized with.
|
void |
connect(String url,
String[] methods,
String action,
Permissions permissions)
Connect a URL to the framework's url router, using handler that this
submapper is initialized with.
|
public void connect(String url, String[] methods, String action, Permissions permissions) throws Exception
url - The url path.methods - Array of method names that apply on this urlaction - The name of a public method defined in the handler
class that processes the functionality for this url.permissions - Permissions object for this URLExceptionpublic void connect(String url, String[] methods, String action) throws Exception
url - The url path.methods - Array of method names that apply on this urlaction - The name of a public method defined in the handler
class that processes the functionality for this url.ExceptionCopyright © 2017. All rights reserved.