Example usage for Java org.springframework.web.servlet.config.annotation ViewControllerRegistry fields, constructors, methods, implement or subclass
The text is from its open source code.
RedirectViewControllerRegistration | addRedirectViewController(String urlPath, String redirectUrl) Map a view controller to the given URL path (or pattern) in order to redirect to another URL. |
void | addStatusController(String urlPath, HttpStatus statusCode) Map a simple controller to the given URL path (or pattern) in order to set the response status to the given code without rendering a body. |
ViewControllerRegistration | 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. |
void | setOrder(int order) Specify the order to use for the HandlerMapping used to map view controllers relative to other handler mappings configured in Spring MVC. |