public class AppController extends Object implements IAppController
| Constructor and Description |
|---|
AppController(IAppConfig appConfig) |
| Modifier and Type | Method and Description |
|---|---|
void |
exception(IAppRequestContext context)
Route handler for exceptions handling.
|
protected IAppConfig |
getAppConfig() |
void |
indexPage(IAppRequestContext context)
Route handler for the "/" index page.
|
void |
notFound(IAppRequestContext context)
Route handler for a "Not Found" request.
|
@Inject public AppController(IAppConfig appConfig)
protected IAppConfig getAppConfig()
public void indexPage(IAppRequestContext context)
IAppControllerindexPage in interface IAppControllerpublic void notFound(IAppRequestContext context)
IAppControllernotFound in interface IAppControllerpublic void exception(IAppRequestContext context)
IAppControllerexception in interface IAppControllerCopyright © 2016. All rights reserved.