public interface HttpStatusCode
This class defines constants for HTTP status codes. It is a central listing for codes used by EventWeb classes, and exists as much for documentation purposes as for runtime use.
Most of these constants use the same names and values as those in the javax.servlet.http.HttpServletResponse interface.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
IF_VERSION
Interface version
|
static int |
SC_ALT_RESP
207 Alternate response.
|
static int |
SC_BAD_REQUEST
400 Bad request.
|
static int |
SC_CONTINUE
100 Continue.
|
static int |
SC_INTERNAL_SERVER_ERROR
500 Internal server error.
|
static int |
SC_NOT_ACCEPTABLE
406 Not Acceptable.
|
static int |
SC_NOT_FOUND
404 Not found.
|
static int |
SC_OK
200 Ok.
|
static int |
SC_UNAUTHORIZED
401 Unauthorized.
|
static final java.lang.String IF_VERSION
static final int SC_CONTINUE
static final int SC_OK
static final int SC_ALT_RESP
static final int SC_BAD_REQUEST
static final int SC_UNAUTHORIZED
static final int SC_NOT_FOUND
static final int SC_NOT_ACCEPTABLE
static final int SC_INTERNAL_SERVER_ERROR