Mapper.SubMapper¶
-
public class
SubMapper
¶ Submapper class for the mapper object.
Constructors¶
Methods¶
connect¶
-
public 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.
Parameters: - url – The url path.
- methods – Array of method names that apply on this url
- action – The name of a public method defined in the handler class that processes the functionality for this url.
- permissions – Permissions object for this URL
connect¶
-
public 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.
Parameters: - url – The url path.
- methods – Array of method names that apply on this url
- action – The name of a public method defined in the handler class that processes the functionality for this url.