]>
git.argeo.org Git - lgpl/argeo-commons.git/blob - org.argeo.util/src/org/argeo/util/http/HttpResponseStatus.java
1 package org
.argeo
.util
.http
;
4 * Standard HTTP response status codes (including WebDav ones).
6 * @see https://developer.mozilla.org/en-US/docs/Web/HTTP/Status
8 public enum HttpResponseStatus
{
9 // Successful responses (200–299)
12 MULTI_STATUS(207), // WebDav
13 // Client error responses (400–499)
17 // Server error responses (500-599)
18 INTERNAL_SERVER_ERROR(500), //
19 NOT_IMPLEMENTED(501), //
22 private final int code
;
24 HttpResponseStatus(int statusCode
) {
25 this.code
= statusCode
;
28 public int getCode() {