RedirectViewControllerRegistration | ViewControllerRegistry.addRedirectViewController(String urlPath, String redirectUrl) | Map a view controller to the given URL path (or pattern) in order to redirect to another URL. |
---|
RedirectViewControllerRegistration | RedirectViewControllerRegistration.setContextRelative(boolean contextRelative) | Whether to interpret a given redirect URL that starts with a slash ("/") as relative to the current ServletContext, i.e. as relative to the web application root. |
---|
RedirectViewControllerRegistration | RedirectViewControllerRegistration.setKeepQueryParams(boolean propagate) | Whether to propagate the query parameters of the current request through to the target redirect URL. |
---|
RedirectViewControllerRegistration | RedirectViewControllerRegistration.setStatusCode(HttpStatus statusCode) | Set the specific redirect 3xx status code to use. |
---|