Class PermanentRedirect

java.lang.Object
org.apache.juneau.http.response.BasicHttpResponse
org.apache.juneau.http.response.PermanentRedirect
All Implemented Interfaces:
HttpMessage, HttpResponse

@Response @StatusCode(308) @Schema(description="Permanent Redirect") public class PermanentRedirect extends BasicHttpResponse
Represents an HTTP 308 Permanent Redirect response.

The request and all future requests should be repeated using another URI. 307 and 308 parallel the behaviors of 302 and 301, but do not allow the HTTP method to change. So, for example, submitting a form to a permanently redirected resource may continue smoothly.

See Also: