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