Node Director
Public Member Functions | Public Attributes | List of all members
fi.iki.elonen.NanoHTTPD.Response.Status Enum Reference

Some HTTP response status codes. More...

Inheritance diagram for fi.iki.elonen.NanoHTTPD.Response.Status:
fi.iki.elonen.NanoHTTPD.Response.IStatus

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")

Detailed Description

Some HTTP response status codes.

Constructor & Destructor Documentation

fi.iki.elonen.NanoHTTPD.Response.Status.Status ( int  requestStatus,
String  description 
)

Member Function Documentation

String fi.iki.elonen.NanoHTTPD.Response.Status.getDescription ( )
int fi.iki.elonen.NanoHTTPD.Response.Status.getRequestStatus ( )

Member Data Documentation

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")
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")

The documentation for this enum was generated from the following file: