spring-framework / org.springframework.web.reactive.function.server / RouterFunctionDsl / from

from

fun from(other: ServerResponse): BodyBuilder

Create a builder with the status code and headers of the given response.

Parameters

other - the response to copy the status and headers from

Return
the created builder

Since
5.1