RenderingResponse.Builder implementation.
| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private final MultiValueMap | |
| private final HttpHeaders | |
| private final Map | |
| private final String | |
| private HttpStatusCode |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| cookies | back to summary |
|---|---|
| private final MultiValueMap<String, ResponseCookie> cookies | |
| headers | back to summary |
|---|---|
| private final HttpHeaders headers | |
| model | back to summary |
|---|---|
| private final Map<String, Object> model | |
| name | back to summary |
|---|---|
| private final String name | |
| status | back to summary |
|---|---|
| private HttpStatusCode status | |
| DefaultRenderingResponseBuilder | back to summary |
|---|---|
| public DefaultRenderingResponseBuilder(RenderingResponse other) | |
| DefaultRenderingResponseBuilder | back to summary |
|---|---|
| public DefaultRenderingResponseBuilder(String name) | |
| build | back to summary |
|---|---|
| public Mono Implements org. Doc from org. Build the response.
| |
| cookie | back to summary |
|---|---|
| public RenderingResponse. Implements org. Doc from org. Add the given cookie to the response.
| |
| cookies | back to summary |
|---|---|
| public RenderingResponse. Implements org. Doc from org. Manipulate this response's cookies with the given consumer. The
cookies provided to the consumer are "live", so that the consumer can be used to
overwrite existing cookies,
remove cookies, or use any of the other
| |
| header | back to summary |
|---|---|
| public RenderingResponse. Implements org. Doc from org. Add the given header value(s) under the given name.
| |
| headers | back to summary |
|---|---|
| public RenderingResponse. Implements org. Doc from org. Copy the given headers into the entity's headers map.
| |
| modelAttribute | back to summary |
|---|---|
| public RenderingResponse. Implements org. Doc from org. Add the supplied attribute to the model using a generated name. Note Empty | |
| modelAttribute | back to summary |
|---|---|
| public RenderingResponse. Implements org. Doc from org. Add the supplied attribute value under the supplied name. | |
| modelAttributes | back to summary |
|---|---|
| public RenderingResponse. Implements org. Doc from org. Copy all attributes in the supplied array into the model, using attribute name generation for each element.
| |
| modelAttributes | back to summary |
|---|---|
| public RenderingResponse. Implements org. Doc from org. Copy all attributes in the supplied
| |
| modelAttributes | back to summary |
|---|---|
| public RenderingResponse. Implements org. Doc from org. Copy all attributes in the supplied
| |
| status | back to summary |
|---|---|
| public RenderingResponse. Implements org. Doc from org. Set the HTTP status.
| |
| status | back to summary |
|---|---|
| public RenderingResponse. Implements org. Doc from org. Set the HTTP status.
| |
| Modifier and Type | Field and Description |
|---|---|
| private final Map | |
| private final String |
| Access | Constructor and Description |
|---|---|
| public | DefaultRenderingResponse(HttpStatusCode statusCode, HttpHeaders headers, MultiValueMap<String, ResponseCookie> cookies, String name, Map<String, Object> model)
|
| Modifier and Type | Method and Description |
|---|---|
| public Map | model()
Implements org. Return the unmodifiable model map. |
| public String | name()
Implements org. Return the name of the template to be rendered. |
| private void | |
| protected Mono | writeToInternal(ServerWebExchange exchange, ServerResponse.
Implements abstract org.
|
| model | back to summary |
|---|---|
| private final Map<String, Object> model | |
| name | back to summary |
|---|---|
| private final String name | |
| DefaultRenderingResponse | back to summary |
|---|---|
| public DefaultRenderingResponse(HttpStatusCode statusCode, HttpHeaders headers, MultiValueMap<String, ResponseCookie> cookies, String name, Map<String, Object> model) | |
| model | back to summary |
|---|---|
| public Map Implements org. Doc from org. Return the unmodifiable model map.
| |
| name | back to summary |
|---|---|
| public String name() Implements org. Doc from org. Return the name of the template to be rendered.
| |
| setStatus | back to summary |
|---|---|
| private void setStatus(View view) | |
| writeToInternal | back to summary |
|---|---|
| protected Mono Implements abstract org.
| |