| Package | Description |
|---|---|
| com.atlassian.plugin.webresource.impl.http | |
| com.atlassian.plugin.webresource.impl.support.http |
| Modifier and Type | Method and Description |
|---|---|
protected Controller |
Router.createController(Globals globals,
Request request,
Response response) |
| Constructor and Description |
|---|
Controller(Globals globals,
Request request,
Response response) |
| Modifier and Type | Field and Description |
|---|---|
protected Response |
BaseController.response |
| Modifier and Type | Method and Description |
|---|---|
void |
BaseRouter.Handler.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.
|
protected void |
BaseRouter.callHandler(BaseRouter.Handler handler,
Controller controller,
Request request,
Response response,
String... args) |
protected abstract Controller |
BaseRouter.createController(Globals globals,
Request request,
Response response)
Override this method and provide instance of the controller.
|
void |
BaseRouter.dispatch(Request request,
Response response)
Dispatches request to proper handlers.
|
| Constructor and Description |
|---|
BaseController(Globals globals,
Request request,
Response response) |
Copyright © 2019 Atlassian. All rights reserved.