Package | Description |
---|---|
org.springframework.web.servlet.config.annotation |
Annotation-based setup for Spring MVC.
|
Modifier and Type | Method and Description |
---|---|
ViewControllerRegistration |
ViewControllerRegistry.addViewController(String urlPath)
Map a view controller to the given URL path (or pattern) in order to render
a response with a pre-configured status code and view.
|
ViewControllerRegistration |
ViewControllerRegistration.setStatusCode(HttpStatus statusCode)
Set the status code to set on the response.
|