open fun setStatusCode(statusCode: HttpStatus): RedirectViewControllerRegistration
Set the specific redirect 3xx status code to use.
If not set, org.springframework.web.servlet.view.RedirectView will select HttpStatus.MOVED_TEMPORARILY (302)
by default.