|
SMILA 1.0 API documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.smila.http.server.HttpStatus
public final class HttpStatus
Utility class providing some HTTP standard status codes.
| Field Summary | |
|---|---|
static int |
ACCEPTED
The request has been accepted for processing, but the processing has not been completed. |
static int |
BAD_REQUEST
The request could not be understood by the server due to malformed syntax. |
static int |
CONFLICT
The request could not be completed due to a conflict with the current state of the resource. |
static int |
CREATED
The request has been fulfilled and resulted in a new resource being created. |
static int |
GONE
The requested resource is no longer available at the server and no forwarding address is known. |
static int |
INTERNAL_SERVER_ERROR
The server encountered an unexpected condition which prevented it from fulfilling the request. |
static int |
METHOD_NOT_ALLOWED
The method is not allowed to access the request URI. |
static int |
NO_CONTENT
The server has fulfilled the request but does not need to return an entity-body. |
static int |
NOT_FOUND
The server has not found anything matching the request URI. |
static int |
OK
The request has succeeded. |
static int |
SERVICE_UNAVAILABLE
The server is currently unable to handle the request due to a temporary overloading or maintenance of the server. |
static int |
UNKNOWN
Does not belong to the HTTP standard status codes. |
static int |
UNPROCESSABLE_ENTITY
The syntax of the request entity is correct (thus a 400 (Bad Request) status code is inappropriate) but was unable to process the contained instructions. |
| Method Summary | |
|---|---|
static java.lang.String |
name(int status)
Returns the name of the specified HTTP status code or null if the code is undefined. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int UNKNOWN
public static final int OK
public static final int CREATED
public static final int ACCEPTED
public static final int NO_CONTENT
public static final int BAD_REQUEST
public static final int NOT_FOUND
public static final int METHOD_NOT_ALLOWED
public static final int CONFLICT
public static final int GONE
public static final int UNPROCESSABLE_ENTITY
public static final int INTERNAL_SERVER_ERROR
public static final int SERVICE_UNAVAILABLE
| Method Detail |
|---|
public static java.lang.String name(int status)
status - a status
|
SMILA 1.0 API documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||