This status code means that the method could not be performed on the
resource because the requested action depended on another action and that
action failed.
The resource identified by the request is only capable of generating
response entities whose content characteristics do not match the user's
requirements (in Accept* headers).
The server has not found anything matching the Request-URI or the server
does not wish to reveal exactly why the request has been refused, or no
other response is applicable.
Sent by the server when an HTTP client opens a connection, but has never
sent a request (or never sent the blank line that signals the end of the
request).
This status code means the server understands the content type of the
request entity (syntactically correct) but was unable to process the
contained instructions.
The server is refusing to service the request because the entity of the
request is in a format not supported by the requested resource for the
requested method.
Generic status code sent by a client connector when an error occurs
during the process of a request to its server or the process of a
response to its client.
COPY -
Static variable in class org.restlet.gwt.data.Method
Creates a duplicate of the source resource, identified by the
Request-URI, in the destination resource, identified by the URI in the
Destination header.
Copies the parameters whose name is a key in the given map.
If a matching parameter is found, its value is put in the map.
If multiple values are found, a list is created and set in the map.
Returns the modifiable list of client IP addresses.
The first address is the one of the immediate client component as
returned by the getClientAdress() method and the last address should
correspond to the origin client (frequently a user agent).
This is useful when the user agent is separated from the origin server by
a chain of intermediary components.
Returns the hierarchical part which is equivalent to the scheme specific
part less the query component.
Note that no URI decoding is done by this method.
Returns the last segment of a hierarchical path.
For example the "/a/b/c" and "/a/b/c/" paths have the same segments: "a",
"b", "c.
Note that no URI decoding is done by this method.
Returns the best variant representation for a given resource according
the the client preferences.
A default language is provided in case the variants don't match the
client preferences.
This interim response (the client has to wait for the final response) is
used to inform the client that the initial part of the request has been
received and has not yet been rejected or completed by the server.
This interim response is used to inform the client that the server has
accepted the complete request, but has not yet completed it since the
server has a reasonable expectation that the request will take
significant time to complete.
The server understands and is willing to comply with the client's
request, via the Upgrade message header field, for a change in the
application protocol being used on this connection.
Indicates if some fresh content is available, without having to actually
call one of the content manipulation method like getStream() that would
actually consume it.
MOVE -
Static variable in class org.restlet.gwt.data.Method
Logical equivalent of a copy, followed by consistency maintenance
processing, followed by a delete of the source where all three actions
are performed atomically.
The requested resource resides temporarily under a different URI which
should not be used for future requests by the client (use status codes
303 or 307 instead since this status has been manifestly misused).
The server lets the user agent choosing one of the multiple
representations of the requested resource, each representation having its
own specific location provided in the response entity.
The server, while acting as a gateway or proxy, received an invalid
response from the upstream server it accessed in attempting to fulfill
the request.
This status code means the method could not be performed on the resource
because the server is unable to store the representation needed to
successfully complete the request.
The server has fulfilled the request but does not need to return an
entity-body (for example after a DELETE), and might want to return
updated metainformation.
The request has succeeded but the returned metainformation in the
entity-header do not come from the origin server, but is gathered from a
local or a third-party copy.
SUCCESS_OK -
Static variable in class org.restlet.gwt.data.Status
Returns an array containing all of the elements in this list in proper
sequence; the runtime type of the returned array is that of the specified
array.