Annotation Interface View
Should be used on
EntryPath
-annotated methods on Controller
-annotated components.
Designates that the return value is the name of a view to be handled by ViewDriver
s.
If the return type is...
SmallModelView
, it is used for both the model for the found view and view name to resolve.- Anything else, the string-converted value is considered to be the name of the view to resolve, no model.
If the view name starts with "redirect:
", then a redirect request is sent to the browser (Location
header).
If no ViewDriver
handles the view, a 501 error is sent back.
- Author:
- Matthew Tropiano
- See Also: