Uses of Class
org.springframework.web.servlet.config.annotation.ViewControllerRegistration
Packages that use ViewControllerRegistration Package Description org.springframework.web.servlet.config.annotation Annotation-based setup for Spring MVC.Uses of ViewControllerRegistration in org.springframework.web.servlet.config.annotation
Methods in org.springframework.web.servlet.config.annotation that return ViewControllerRegistration Modifier and Type Method Description ViewControllerRegistrationViewControllerRegistry. 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.ViewControllerRegistrationViewControllerRegistration. setStatusCode(HttpStatus statusCode)Set the status code to set on the response.