Module io.jstach.opt.spring.example
Class MessageController
java.lang.Object
io.jstach.opt.spring.example.message.MessageController
Example controller that uses a View which has global state injected into it via a
handler interceptor.
- Author:
- dsyer
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
MessageController
public MessageController()Created by Spring
-
-
Method Details
-
message
Here we use the global configurer to inject state into theView
.- Returns:
- view
-