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

status

fun status(status: HttpStatus): BodyBuilder
fun status(status: Int): BodyBuilder

Create a builder with the given HTTP status.

Parameters

status - the response status

Return
the created builder

Since
5.1