| /******************************************************************************** |
| * Copyright (c) 2020 Contributors to the Eclipse Foundation |
| * |
| * See the NOTICE file(s) distributed with this work for additional |
| * information regarding copyright ownership. |
| * |
| * This program and the accompanying materials are made available under the |
| * terms of the Eclipse Public License 2.0 which is available at |
| * http://www.eclipse.org/legal/epl-2.0 |
| * |
| * SPDX-License-Identifier: EPL-2.0 |
| ********************************************************************************/ |
| |
| export enum EHttpStatusCodes { |
| OK = 200, |
| CREATED = 201, |
| ACCEPTED = 202, |
| NON_AUTHORITATIVE_INFORMATION = 203, |
| NO_CONTENT = 204, |
| RESET_CONTENT = 205, |
| PARTIAL_CONTENT = 206, |
| MULTI_STATUS = 207, |
| ALREADY_REPORTED = 208, |
| |
| BAD_REQUEST = 400, |
| UNAUTHORIZED = 401, |
| FORBIDDEN = 403, |
| NOT_FOUND = 404, |
| METHOD_NOT_ALLOWED = 405, |
| NOT_ACCEPTABLE = 406, |
| REQUEST_TIMEOUT = 408, |
| CONFLICT = 409, |
| GONE = 410, |
| LENGTH_REQUIRED = 411, |
| PRECONDITION_FAILED = 412, |
| REQUEST_ENTITY_TOO_LARGE = 413, |
| URI_TOO_LONG = 414, |
| UNSUPPORTED_MEDIA_TYPE = 415, |
| REQUESTED_RANGE_NOT_SATISFIABLE = 416, |
| EXPECTATION_FAILED = 417, |
| |
| INTERNAL_SERVER_ERROR = 500, |
| NOT_IMPLEMENTED = 501, |
| BAD_GATEWAY = 502, |
| SERVICE_UNAVAILABLE = 503, |
| GATEWAY_TIMEOUT = 504 |
| } |