Node Director
|
Some HTTP response status codes. More...
Public Member Functions | |
Status (int requestStatus, String description) | |
String | getDescription () |
int | getRequestStatus () |
Public Attributes | |
SWITCH_PROTOCOL = (101, "Switching Protocols") | |
OK = (200, "OK") | |
CREATED = (201, "Created") | |
ACCEPTED = (202, "Accepted") | |
NO_CONTENT = (204, "No Content") | |
PARTIAL_CONTENT = (206, "Partial Content") | |
REDIRECT = (301, "Moved Permanently") | |
NOT_MODIFIED = (304, "Not Modified") | |
BAD_REQUEST = (400, "Bad Request") | |
UNAUTHORIZED = (401, "Unauthorized") | |
FORBIDDEN = (403, "Forbidden") | |
NOT_FOUND = (404, "Not Found") | |
METHOD_NOT_ALLOWED = (405, "Method Not Allowed") | |
RANGE_NOT_SATISFIABLE = (416, "Requested Range Not Satisfiable") | |
INTERNAL_ERROR = (500, "Internal Server Error") | |
UNSUPPORTED_HTTP_VERSION = (505, "HTTP Version Not Supported") |
Some HTTP response status codes.
fi.iki.elonen.NanoHTTPD.Response.Status.Status | ( | int | requestStatus, |
String | description | ||
) |
String fi.iki.elonen.NanoHTTPD.Response.Status.getDescription | ( | ) |
Implements fi.iki.elonen.NanoHTTPD.Response.IStatus.
int fi.iki.elonen.NanoHTTPD.Response.Status.getRequestStatus | ( | ) |
Implements fi.iki.elonen.NanoHTTPD.Response.IStatus.
fi.iki.elonen.NanoHTTPD.Response.Status.ACCEPTED = (202, "Accepted") |
fi.iki.elonen.NanoHTTPD.Response.Status.BAD_REQUEST = (400, "Bad Request") |
fi.iki.elonen.NanoHTTPD.Response.Status.CREATED = (201, "Created") |
fi.iki.elonen.NanoHTTPD.Response.Status.FORBIDDEN = (403, "Forbidden") |
fi.iki.elonen.NanoHTTPD.Response.Status.INTERNAL_ERROR = (500, "Internal Server Error") |
fi.iki.elonen.NanoHTTPD.Response.Status.METHOD_NOT_ALLOWED = (405, "Method Not Allowed") |
fi.iki.elonen.NanoHTTPD.Response.Status.NO_CONTENT = (204, "No Content") |
fi.iki.elonen.NanoHTTPD.Response.Status.NOT_FOUND = (404, "Not Found") |
fi.iki.elonen.NanoHTTPD.Response.Status.NOT_MODIFIED = (304, "Not Modified") |
fi.iki.elonen.NanoHTTPD.Response.Status.OK = (200, "OK") |
Referenced by fi.iki.elonen.NanoHTTPD.newFixedLengthResponse().
fi.iki.elonen.NanoHTTPD.Response.Status.PARTIAL_CONTENT = (206, "Partial Content") |
fi.iki.elonen.NanoHTTPD.Response.Status.RANGE_NOT_SATISFIABLE = (416, "Requested Range Not Satisfiable") |
fi.iki.elonen.NanoHTTPD.Response.Status.REDIRECT = (301, "Moved Permanently") |
fi.iki.elonen.NanoHTTPD.Response.Status.SWITCH_PROTOCOL = (101, "Switching Protocols") |
fi.iki.elonen.NanoHTTPD.Response.Status.UNAUTHORIZED = (401, "Unauthorized") |
fi.iki.elonen.NanoHTTPD.Response.Status.UNSUPPORTED_HTTP_VERSION = (505, "HTTP Version Not Supported") |