Package | Description |
---|---|
fi.iki.elonen |
External sources.
|
Modifier and Type | Method and Description |
---|---|
NanoHTTPD.Response.Status |
NanoHTTPD.Response.getStatus() |
NanoHTTPD.Response.Status |
NanoHTTPD.ResponseException.getStatus() |
static NanoHTTPD.Response.Status |
NanoHTTPD.Response.Status.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NanoHTTPD.Response.Status[] |
NanoHTTPD.Response.Status.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
NanoHTTPD.Response.setStatus(NanoHTTPD.Response.Status status) |
Constructor and Description |
---|
Response(NanoHTTPD.Response.Status status,
java.lang.String mimeType,
java.io.InputStream data)
Basic constructor.
|
Response(NanoHTTPD.Response.Status status,
java.lang.String mimeType,
java.lang.String txt)
Convenience method that makes an InputStream out of given text.
|
ResponseException(NanoHTTPD.Response.Status status,
java.lang.String message) |
ResponseException(NanoHTTPD.Response.Status status,
java.lang.String message,
java.lang.Exception e) |