Java org.springframework.web.servlet.config.annotation ViewControllerRegistry fields, constructors, methods, implement or subclass

Example usage for Java org.springframework.web.servlet.config.annotation ViewControllerRegistry fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.springframework.web.servlet.config.annotation ViewControllerRegistry.

The text is from its open source code.

Method

RedirectViewControllerRegistrationaddRedirectViewController(String urlPath, String redirectUrl)
Map a view controller to the given URL path (or pattern) in order to redirect to another URL.
voidaddStatusController(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.
ViewControllerRegistrationaddViewController(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.
voidsetOrder(int order)
Specify the order to use for the HandlerMapping used to map view controllers relative to other handler mappings configured in Spring MVC.