public class AppController extends Object
| Constructor and Description |
|---|
AppController(AppConfig appConfig) |
| Modifier and Type | Method and Description |
|---|---|
void |
exception(AppRequestContext context)
Route Handler to manage exceptions
|
protected AppConfig |
getAppConfig() |
void |
indexPage(AppRequestContext context)
Index page handler
|
void |
notFound(AppRequestContext context)
Route Handler to manage 404
|
void |
sumRoute(AppRequestContext context)
/sum route handler
|
@Inject public AppController(AppConfig appConfig)
protected AppConfig getAppConfig()
public void notFound(AppRequestContext context)
public void exception(AppRequestContext context)
public void indexPage(AppRequestContext context)
public void sumRoute(AppRequestContext context)
Copyright © 2016. All rights reserved.