Class AppController
java.lang.Object
org.spincast.quickstart.controller.AppController
The application controller.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
addCommonModelElements
(AppRequestContext context) Adds some common elements to the response's model.void
exception
(AppRequestContext context) Route Handler to manage exceptionsvoid
exceptionExample
(AppRequestContext context) "Exception example" handlervoid
formExample
(AppRequestContext context) Simple Form example handlerprotected AppConfig
void
index
(AppRequestContext context) Index page handlervoid
notFound
(AppRequestContext context) Route Handler to manage 404
-
Field Details
-
logger
protected static final org.slf4j.Logger logger
-
-
Constructor Details
-
AppController
-
-
Method Details
-
getAppConfig
-
addCommonModelElements
Adds some common elements to the response's model. -
index
Index page handler -
formExample
Simple Form example handler -
exceptionExample
"Exception example" handler -
notFound
Route Handler to manage 404 -
exception
Route Handler to manage exceptions
-