permanentRedirect

fun permanentRedirect(location: URI): ServerResponse.BodyBuilder

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

Return

the created builder

Since

5.1

Parameters

location

the location URI