Rendering.RedirectBuilder .
| Modifier and Type | Field and Description |
|---|---|
| private HttpHeaders | |
| private Model | |
| private HttpStatusCode | |
| private final Object |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| headers | back to summary |
|---|---|
| private HttpHeaders headers
| |
| model | back to summary |
|---|---|
| private Model model
| |
| status | back to summary |
|---|---|
| private HttpStatusCode status
| |
| view | back to summary |
|---|---|
| private final Object view | |
| DefaultRenderingBuilder | back to summary |
|---|---|
| pack-priv DefaultRenderingBuilder(Object view) | |
| build | back to summary |
|---|---|
| public Rendering build() Implements org. Doc from org. Build the
| |
| contextRelative | back to summary |
|---|---|
| public Rendering. Implements org. Doc from org. Whether to the provided redirect URL should be prepended with the application context path (if any). By default this is set to
| |
| getRedirectView | back to summary |
|---|---|
| private RedirectView getRedirectView() | |
| header | back to summary |
|---|---|
| public DefaultRenderingBuilder header(String headerName, String... headerValues) Implements org. Doc from org. Specify a header to add to the response.
| |
| headers | back to summary |
|---|---|
| public DefaultRenderingBuilder headers(HttpHeaders headers) Implements org. Doc from org. Specify headers to add to the response.
| |
| initHeaders | back to summary |
|---|---|
| private HttpHeaders initHeaders() | |
| initModel | back to summary |
|---|---|
| private Model initModel() | |
| model | back to summary |
|---|---|
| public DefaultRenderingBuilder model(Map<String, ?> map) Implements org. Doc from org. Add the given attributes to the model.
| |
| modelAttribute | back to summary |
|---|---|
| public DefaultRenderingBuilder modelAttribute(String name, Object value) Implements org. Doc from org. Add the given model attribute with the supplied name.
| |
| modelAttribute | back to summary |
|---|---|
| public DefaultRenderingBuilder modelAttribute(Object value) Implements org. Doc from org. Add an attribute to the model using a
| |
| modelAttributes | back to summary |
|---|---|
| public DefaultRenderingBuilder modelAttributes(Object... values) Implements org. Doc from org. Add all given attributes to the model using
| |
| propagateQuery | back to summary |
|---|---|
| public Rendering. Implements org. Doc from org. Whether to append the query string of the current URL to the target redirect URL or not. By default this is set to
| |
| status | back to summary |
|---|---|
| public DefaultRenderingBuilder status(HttpStatusCode status) Implements org. Doc from org. Specify the status to use for the response.
| |