Class BaseRouter.Handler
java.lang.Object
com.atlassian.plugin.webresource.impl.support.http.BaseRouter.Handler
- Enclosing class:
- BaseRouter<Controller extends BaseController>
Handler for routes.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidapply(Request request, Response response, Controller controller, String[] arguments) Always called, used in case when route have more than three arguments or need access to request.voidapply(Controller controller) Would be called for route if the route has zero parameters.voidapply(Controller controller, String arg) Would be called for route if the route has one parameters.voidapply(Controller controller, String arg1, String arg2) Would be called for route if the route has two parameters.voidapply(Controller controller, String arg1, String arg2, String arg3) Would be called for route if the route has three parameters.
-
Constructor Details
-
Handler
public Handler()
-
-
Method Details
-
apply
Would be called for route if the route has zero parameters. -
apply
Would be called for route if the route has one parameters. -
apply
Would be called for route if the route has two parameters. -
apply
Would be called for route if the route has three parameters. -
apply
Always called, used in case when route have more than three arguments or need access to request.
-