Generic response sent by server connectors. It is then received by client
connectors. Responses are uniform across all types of connectors, protocols
and components.
See Also:org.restlet.data.Request See Also:org.restlet.Uniform author: Jerome Louvel (contact@noelios.com)
Returns the set of methods allowed on the requested resource. This
property only has to be updated when a status
CLIENT_ERROR_METHOD_NOT_ALLOWED is set.
The list of allowed methods.
Returns the set of selecting dimensions on which the response entity may
vary. If some server-side content negotiation is done, this set should be
properly updated, other it can be left empty.
The set of dimensions on which the response entity may vary.
public void redirectPermanent(String targetUri)(Code)
Permanently redirects the client to a target URI. The client is expected
to reuse the same method for the new request.
Parameters: targetUri - The target URI.
Permanently redirects the client to a target URI. The client is expected
to reuse the same method for the new request.
Parameters: targetRef - The target URI reference.
redirectSeeOther
public void redirectSeeOther(String targetUri)(Code)
Redirects the client to a different URI that SHOULD be retrieved using a
GET method on that resource. This method exists primarily to allow the
output of a POST-activated script to redirect the user agent to a
selected resource. The new URI is not a substitute reference for the
originally requested resource.
Parameters: targetUri - The target URI.
Redirects the client to a different URI that SHOULD be retrieved using a
GET method on that resource. This method exists primarily to allow the
output of a POST-activated script to redirect the user agent to a
selected resource. The new URI is not a substitute reference for the
originally requested resource.
Parameters: targetRef - The target reference.
redirectTemporary
public void redirectTemporary(String targetUri)(Code)
Temporarily redirects the client to a target URI. The client is expected
to reuse the same method for the new request.
Parameters: targetUri - The target URI.
Temporarily redirects the client to a target URI. The client is expected
to reuse the same method for the new request.
Parameters: targetRef - The target reference.
Sets the authentication request sent by an origin server to a client.
Parameters: request - The authentication request sent by an origin server to aclient.