Class AppController
java.lang.Object
org.spincast.quickstart.controller.AppController
The application controller.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddCommonModelElements(AppRequestContext context) Adds some common elements to the response's model.voidexception(AppRequestContext context) Route Handler to manage exceptionsvoidexceptionExample(AppRequestContext context) "Exception example" handlervoidformExample(AppRequestContext context) Simple Form example handlerprotected AppConfigvoidindex(AppRequestContext context) Index page handlervoidnotFound(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
-