public abstract class BaseRouter.Handler extends Object
| Constructor and Description |
|---|
Handler() |
| Modifier and Type | Method and Description |
|---|---|
void |
apply(Controller controller)
Would be called for route if the route has zero parameters.
|
void |
apply(Controller controller,
String arg)
Would be called for route if the route has one parameters.
|
void |
apply(Controller controller,
String arg1,
String arg2)
Would be called for route if the route has two parameters.
|
void |
apply(Controller controller,
String arg1,
String arg2,
String arg3)
Would be called for route if the route has three parameters.
|
void |
apply(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.
|
public void apply(Controller controller)
public void apply(Controller controller, String arg)
public void apply(Controller controller, String arg1, String arg2)
public void apply(Controller controller, String arg1, String arg2, String arg3)
public void apply(Request request, Response response, Controller controller, String[] arguments)
Copyright © 2017 Atlassian. All rights reserved.