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

temporaryRedirect

fun temporaryRedirect(location: URI): BodyBuilder

Create a builder with a 307 Temporary Redirect status and a location header set to the given URI.

Parameters

location - the location URI

Return
the created builder

Since
5.1