Java org.springframework.http.server.reactive ServerHttpResponse fields, constructors, methods, implement or subclass

Example usage for Java org.springframework.http.server.reactive ServerHttpResponse fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.springframework.http.server.reactive ServerHttpResponse.

The text is from its open source code.

Implementation

org.springframework.http.server.reactive.ServerHttpResponse has the following implementations.
Click this link to see all its implementation.

Method

voidbeforeCommit(Supplier> action)
Register an action to apply just before the HttpOutputMessage is committed.
DataBufferFactorybufferFactory()
Return a DataBufferFactory that can be used to create the body.
HttpHeadersgetHeaders()
Return the headers of this message.
HttpStatusgetStatusCode()
Return the status code set via #setStatusCode , or if the status has not been set, return the default status code from the underlying server response.
booleanisCommitted()
Whether the HttpOutputMessage is committed.
MonosetComplete()
Indicate that message handling is complete, allowing for any cleanup or end-of-processing tasks to be performed such as applying header changes made via #getHeaders() to the underlying HTTP message (if not applied already).
booleansetStatusCode(@Nullable HttpStatus status)
Set the HTTP status code of the response.
MonowriteAndFlushWith(Publisher> body)
Use the given Publisher of Publishers to write the body of the HttpOutputMessage to the underlying HTTP layer, flushing after each Publisher .
MonowriteWith(Publisher body)
Use the given Publisher to write the body of the message to the underlying HTTP layer.