GUACAMOLE-208: Define and document new status codes.

This commit is contained in:
Michael Jumper
2017-02-11 14:02:58 -08:00
parent fa07460390
commit bc97fc8246
2 changed files with 68 additions and 0 deletions

View File

@@ -71,6 +71,35 @@ public enum GuacamoleStatus {
*/
RESOURCE_CONFLICT(409, 1008, 0x0205),
/**
* The operation could not be performed because the upstream server does
* not appear to exist.
*/
UPSTREAM_NOT_FOUND(502, 1011, 0x0207),
/**
* The operation could not be performed because the upstream server is not
* available to service the request.
*/
UPSTREAM_UNAVAILABLE(502, 1011, 0x0208),
/**
* The session within the upstream server has ended because it conflicted
* with another session.
*/
SESSION_CONFLICT(409, 1008, 0x0209),
/**
* The session within the upstream server has ended because it appeared to
* be inactive.
*/
SESSION_TIMEOUT(408, 1002, 0x020A),
/**
* The session within the upstream server has been forcibly terminated.
*/
SESSION_CLOSED(404, 1002, 0x020B),
/**
* The operation could not be performed because bad parameters were given.
*/