Uses of Interface
org.springframework.web.reactive.function.server.RenderingResponse.Builder
Package
Description
Provides the types that make up Spring's functional web framework for Reactive environments.
-
Uses of RenderingResponse.Builder in org.springframework.web.reactive.function.server
Modifier and TypeMethodDescriptionRenderingResponse.Builder.cookie
(ResponseCookie cookie) Add the given cookie to the response.RenderingResponse.Builder.cookies
(Consumer<MultiValueMap<String, ResponseCookie>> cookiesConsumer) Manipulate this response's cookies with the given consumer.static RenderingResponse.Builder
Create a builder with the given template name.static RenderingResponse.Builder
RenderingResponse.from
(RenderingResponse other) Create a builder with the template name, status code, headers and model of the given response.Add the given header value(s) under the given name.RenderingResponse.Builder.headers
(HttpHeaders headers) Copy the given headers into the entity's headers map.RenderingResponse.Builder.modelAttribute
(Object attribute) Add the supplied attribute to the model using a generated name.RenderingResponse.Builder.modelAttribute
(String name, Object value) Add the supplied attribute value under the supplied name.RenderingResponse.Builder.modelAttributes
(Object... attributes) Copy all attributes in the supplied array into the model, using attribute name generation for each element.RenderingResponse.Builder.modelAttributes
(Collection<?> attributes) Copy all attributes in the suppliedCollection
into the model, using attribute name generation for each element.RenderingResponse.Builder.modelAttributes
(Map<String, ?> attributes) Copy all attributes in the suppliedMap
into the model.RenderingResponse.Builder.status
(int status) Set the HTTP status.RenderingResponse.Builder.status
(HttpStatusCode status) Set the HTTP status.