Uses of Class
org.springframework.web.servlet.config.annotation.RedirectViewControllerRegistration
Packages that use RedirectViewControllerRegistration
Package
Description
Annotation-based setup for Spring MVC.
-
Uses of RedirectViewControllerRegistration in org.springframework.web.servlet.config.annotation
Methods in org.springframework.web.servlet.config.annotation that return RedirectViewControllerRegistrationModifier and TypeMethodDescriptionViewControllerRegistry.addRedirectViewController
(String urlPath, String redirectUrl) Map a view controller to the given URL path or pattern in order to redirect to another URL.RedirectViewControllerRegistration.setContextRelative
(boolean contextRelative) Whether to interpret a given redirect URL that starts with a slash ("/") as relative to the current ServletContext, i.e.RedirectViewControllerRegistration.setKeepQueryParams
(boolean propagate) Whether to propagate the query parameters of the current request through to the target redirect URL.RedirectViewControllerRegistration.setStatusCode
(HttpStatus statusCode) Set the specific redirect 3xx status code to use.