| 1 |
public interface HttpConstants { |
|---|
| 2 |
|
|---|
| 3 |
public static final int HTTP_OK = 200; |
|---|
| 4 |
|
|---|
| 5 |
public static final int HTTP_CREATED = 201; |
|---|
| 6 |
|
|---|
| 7 |
public static final int HTTP_ACCEPTED = 202; |
|---|
| 8 |
|
|---|
| 9 |
public static final int HTTP_NOT_AUTHORITATIVE = 203; |
|---|
| 10 |
|
|---|
| 11 |
public static final int HTTP_NO_CONTENT = 204; |
|---|
| 12 |
|
|---|
| 13 |
public static final int HTTP_RESET = 205; |
|---|
| 14 |
|
|---|
| 15 |
public static final int HTTP_PARTIAL = 206; |
|---|
| 16 |
|
|---|
| 17 |
|
|---|
| 18 |
public static final int HTTP_MULT_CHOICE = 300; |
|---|
| 19 |
|
|---|
| 20 |
public static final int HTTP_MOVED_PERM = 301; |
|---|
| 21 |
|
|---|
| 22 |
public static final int HTTP_MOVED_TEMP = 302; |
|---|
| 23 |
|
|---|
| 24 |
public static final int HTTP_SEE_OTHER = 303; |
|---|
| 25 |
|
|---|
| 26 |
public static final int HTTP_NOT_MODIFIED = 304; |
|---|
| 27 |
|
|---|
| 28 |
public static final int HTTP_USE_PROXY = 305; |
|---|
| 29 |
|
|---|
| 30 |
|
|---|
| 31 |
public static final int HTTP_BAD_REQUEST = 400; |
|---|
| 32 |
|
|---|
| 33 |
public static final int HTTP_UNAUTHORIZED = 401; |
|---|
| 34 |
|
|---|
| 35 |
public static final int HTTP_PAYMENT_REQUIRED = 402; |
|---|
| 36 |
|
|---|
| 37 |
public static final int HTTP_FORBIDDEN = 403; |
|---|
| 38 |
|
|---|
| 39 |
public static final int HTTP_NOT_FOUND = 404; |
|---|
| 40 |
|
|---|
| 41 |
public static final int HTTP_BAD_METHOD = 405; |
|---|
| 42 |
|
|---|
| 43 |
public static final int HTTP_NOT_ACCEPTABLE = 406; |
|---|
| 44 |
|
|---|
| 45 |
public static final int HTTP_PROXY_AUTH = 407; |
|---|
| 46 |
|
|---|
| 47 |
public static final int HTTP_CLIENT_TIMEOUT = 408; |
|---|
| 48 |
|
|---|
| 49 |
public static final int HTTP_CONFLICT = 409; |
|---|
| 50 |
|
|---|
| 51 |
public static final int HTTP_GONE = 410; |
|---|
| 52 |
|
|---|
| 53 |
public static final int HTTP_LENGTH_REQUIRED = 411; |
|---|
| 54 |
|
|---|
| 55 |
public static final int HTTP_PRECON_FAILED = 412; |
|---|
| 56 |
|
|---|
| 57 |
public static final int HTTP_ENTITY_TOO_LARGE = 413; |
|---|
| 58 |
|
|---|
| 59 |
public static final int HTTP_REQ_TOO_LONG = 414; |
|---|
| 60 |
|
|---|
| 61 |
public static final int HTTP_UNSUPPORTED_TYPE = 415; |
|---|
| 62 |
|
|---|
| 63 |
|
|---|
| 64 |
public static final int HTTP_SERVER_ERROR = 500; |
|---|
| 65 |
|
|---|
| 66 |
public static final int HTTP_INTERNAL_ERROR = 501; |
|---|
| 67 |
|
|---|
| 68 |
public static final int HTTP_BAD_GATEWAY = 502; |
|---|
| 69 |
|
|---|
| 70 |
public static final int HTTP_UNAVAILABLE = 503; |
|---|
| 71 |
|
|---|
| 72 |
public static final int HTTP_GATEWAY_TIMEOUT = 504; |
|---|
| 73 |
|
|---|
| 74 |
public static final int HTTP_VERSION = 505; |
|---|
| 75 |
} |
|---|