.. java:import:: java.util ArrayList Mapper.SubMapper ================ .. java:package:: io.aalam.common.router :noindex: .. java:type:: public class SubMapper :outertype: Mapper Submapper class for the mapper object. Fields ------ handler ^^^^^^^ .. java:field:: Object handler :outertype: Mapper.SubMapper mapper ^^^^^^ .. java:field:: Mapper mapper :outertype: Mapper.SubMapper Constructors ------------ SubMapper ^^^^^^^^^ .. java:constructor:: public SubMapper(Mapper mapper, Object handler) :outertype: Mapper.SubMapper :param handler: Object of the handler class for all the URL action methods connecting to this submapper. Methods ------- connect ^^^^^^^ .. java:method:: public void connect(String url, String[] methods, String action, Permissions permissions) throws Exception :outertype: Mapper.SubMapper Connect a URL to the framework's url router, using handler that this submapper is initialized with. :param url: The url path. :param methods: Array of method names that apply on this url :param action: The name of a public method defined in the handler class that processes the functionality for this url. :param permissions: Permissions object for this URL connect ^^^^^^^ .. java:method:: public void connect(String url, String[] methods, String action) throws Exception :outertype: Mapper.SubMapper Connect a URL to the framework's url router, using handler that this submapper is initialized with. :param url: The url path. :param methods: Array of method names that apply on this url :param action: The name of a public method defined in the handler class that processes the functionality for this url.