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

permanentRedirect

fun permanentRedirect(location: URI): BodyBuilder

Create a builder with a 308 Permanent Redirect status and a location header set to the given URI.

Parameters

location - the location URI

Return
the created builder

Since
5.1