| Modifier and Type | Field and Description |
|---|---|
| private final ParameterizableViewController | |
| private final RedirectView | |
| private final String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected String | |
| protected ParameterizableViewController | |
| protected void | |
| public 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. |
| public RedirectViewControllerRegistration | setKeepQueryParams(boolean propagate)
Whether to propagate the query parameters of the current request through to the target redirect URL. |
| public RedirectViewControllerRegistration |
| controller | back to summary |
|---|---|
| private final ParameterizableViewController controller | |
| redirectView | back to summary |
|---|---|
| private final RedirectView redirectView | |
| urlPath | back to summary |
|---|---|
| private final String urlPath | |
| RedirectViewControllerRegistration | back to summary |
|---|---|
| public RedirectViewControllerRegistration(String urlPath, String redirectUrl) | |
| getUrlPath | back to summary |
|---|---|
| protected String getUrlPath() | |
| getViewController | back to summary |
|---|---|
| protected ParameterizableViewController getViewController() | |
| setApplicationContext | back to summary |
|---|---|
| protected void setApplicationContext(ApplicationContext applicationContext) | |
| setContextRelative | back to summary |
|---|---|
| public 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. Default is | |
| setKeepQueryParams | back to summary |
|---|---|
| public RedirectViewControllerRegistration setKeepQueryParams(boolean propagate) Whether to propagate the query parameters of the current request through to the target redirect URL. Default is | |
| setStatusCode | back to summary |
|---|---|
| public RedirectViewControllerRegistration setStatusCode(HttpStatusCode statusCode) Set the specific redirect 3xx status code to use. If not set, | |