Class TemporaryRedirect

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

@Response @StatusCode(307) @Schema(description="Temporary Redirect") public class TemporaryRedirect extends BasicHttpResponse
Represents an HTTP 307 Temporary Redirect response.

In this case, the request should be repeated with another URI; however, future requests should still use the original URI. In contrast to how 302 was historically implemented, the request method is not allowed to be changed when reissuing the original request. For example, a POST request should be repeated using another POST request.

See Also: