Package org.apache.juneau.rest.beans
Class SeeOtherRoot
java.lang.Object
org.apache.juneau.http.response.BasicHttpResponse
org.apache.juneau.http.response.SeeOther
org.apache.juneau.rest.beans.SeeOtherRoot
- All Implemented Interfaces:
HttpMessage
,HttpResponse
@Response
@Schema(description="Redirect to servlet root")
public class SeeOtherRoot
extends SeeOther
Convenience subclass of
SeeOther
for redirecting a response to the servlet root.
See Also:
-
Field Summary
Fields inherited from class org.apache.juneau.http.response.SeeOther
REASON_PHRASE, STATUS_CODE
-
Constructor Summary
-
Method Summary
Methods inherited from class org.apache.juneau.http.response.SeeOther
copy, setContent, setContent, setHeader2, setHeader2, setHeaders, setHeaders, setHeaders2, setLocale2, setLocation, setLocation, setProtocolVersion, setReasonPhrase2, setReasonPhraseCatalog, setStatusCode2, setStatusLine, setUnmodifiable
Methods inherited from class org.apache.juneau.http.response.BasicHttpResponse
addHeader, addHeader, assertModifiable, assertStatusCode, containsHeader, getAllHeaders, getEntity, getFirstHeader, getHeaders, getHeaders, getLastHeader, getLocale, getParams, getProtocolVersion, getStatusLine, headerIterator, headerIterator, isUnmodifiable, removeHeader, removeHeaders, setEntity, setHeader, setHeader, setHeaders, setLocale, setParams, setReasonPhrase, setStatusCode, setStatusLine, setStatusLine, setStatusLine, toString
-
Field Details
-
INSTANCE
Reusable instance.
-
-
Constructor Details
-
SeeOtherRoot
public SeeOtherRoot()Constructor. -
SeeOtherRoot
Constructor with no redirect.Used for end-to-end interfaces.
- Parameters:
content
- Message to send as the response.
-