OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:newFixedLengthResponse
(Results
1 - 2
of
2
) sorted by null
/external/nanohttpd/webserver/src/main/java/fi/iki/elonen/
SimpleWebServer.java
267
return
newFixedLengthResponse
(Response.Status.FORBIDDEN, NanoHTTPD.MIME_PLAINTEXT, "FORBIDDEN: " + s);
271
return
newFixedLengthResponse
(Response.Status.INTERNAL_ERROR, NanoHTTPD.MIME_PLAINTEXT, "INTERNAL ERROR: " + s);
275
return
newFixedLengthResponse
(Response.Status.NOT_FOUND, NanoHTTPD.MIME_PLAINTEXT, "Error 404, file not found.");
353
public static Response
newFixedLengthResponse
(IStatus status, String mimeType, String message) {
354
Response response = NanoHTTPD.
newFixedLengthResponse
(status, mimeType, message);
402
newFixedLengthResponse
(Response.Status.REDIRECT, NanoHTTPD.MIME_HTML, "<html><body>Redirected: <a href=\"" + uri + "\">" + uri + "</a></body></html>");
414
return
newFixedLengthResponse
(Response.Status.OK, NanoHTTPD.MIME_HTML, listDirectory(uri, f));
515
res =
newFixedLengthResponse
(Response.Status.NOT_MODIFIED, mime, "");
529
res =
newFixedLengthResponse
(Response.Status.PARTIAL_CONTENT, mime, fis, newLen);
540
res =
newFixedLengthResponse
(Response.Status.RANGE_NOT_SATISFIABLE, NanoHTTPD.MIME_PLAINTEXT, "")
[
all
...]
/external/nanohttpd/core/src/main/java/fi/iki/elonen/
NanoHTTPD.java
[
all
...]
Completed in 123 milliseconds