Interface RenderingResponse
- All Superinterfaces:
- ServerResponse
Rendering-specific subtype of 
ServerResponse that exposes model and template data.- Since:
- 5.2
- Author:
- Arjen Poutsma
- 
Nested Class SummaryNested ClassesModifier and TypeInterfaceDescriptionstatic interfaceDefines a builder forRenderingResponse.Nested classes/interfaces inherited from interface org.springframework.web.servlet.function.ServerResponseServerResponse.BodyBuilder, ServerResponse.Context, ServerResponse.HeadersBuilder<B extends ServerResponse.HeadersBuilder<B>>, ServerResponse.SseBuilder
- 
Method SummaryModifier and TypeMethodDescriptionstatic RenderingResponse.BuilderCreate a builder with the given template name.static RenderingResponse.Builderfrom(RenderingResponse other) Create a builder with the template name, status code, headers and model of the given response.model()Return the unmodifiable model map.name()Return the name of the template to be rendered.Methods inherited from interface org.springframework.web.servlet.function.ServerResponsecookies, headers, rawStatusCode, statusCode, writeTo
- 
Method Details- 
nameString name()Return the name of the template to be rendered.
- 
modelReturn the unmodifiable model map.
- 
fromCreate a builder with the template name, status code, headers and model of the given response.- Parameters:
- other- the response to copy the values from
- Returns:
- the created builder
 
- 
createCreate a builder with the given template name.- Parameters:
- name- the name of the template to render
- Returns:
- the created builder
 
 
-