HomeSort by relevance Sort by last modified time
    Searched refs:newFixedLengthResponse (Results 1 - 19 of 19) sorted by null

  /external/nanohttpd/core/src/test/java/fi/iki/elonen/
HttpDeleteRequestTest.java 45 this.testServer.response = NanoHTTPD.newFixedLengthResponse(NanoHTTPD.Response.Status.NO_CONTENT, NanoHTTPD.MIME_HTML, "");
81 this.testServer.response = NanoHTTPD.newFixedLengthResponse(NanoHTTPD.Response.Status.NO_CONTENT, NanoHTTPD.MIME_HTML, (String) null);
99 this.testServer.response = NanoHTTPD.newFixedLengthResponse(NanoHTTPD.Response.Status.ACCEPTED, "application/xml", "<body />");
118 this.testServer.response = NanoHTTPD.newFixedLengthResponse(NanoHTTPD.Response.Status.OK, "application/xml", "<body />");
HttpServerTest.java 64 public Response response = newFixedLengthResponse("");
HttpGetRequestTest.java 171 this.testServer.response = NanoHTTPD.newFixedLengthResponse(responseBody);
HttpHeadRequestTest.java 51 this.testServer.response = NanoHTTPD.newFixedLengthResponse(responseBody);
  /external/nanohttpd/core/src/test/java/fi/iki/elonen/integration/
GZipIntegrationTest.java 84 testServer.response = NanoHTTPD.newFixedLengthResponse("This is a test");
107 testServer.response = NanoHTTPD.newFixedLengthResponse("This is a test");
118 testServer.response = NanoHTTPD.newFixedLengthResponse("This is a test");
128 testServer.response = NanoHTTPD.newFixedLengthResponse("This is a test");
147 testServer.response = NanoHTTPD.newFixedLengthResponse("This is a test");
157 testServer.response = NanoHTTPD.newFixedLengthResponse("This is a test");
ShutdownTest.java 58 return newFixedLengthResponse("Whatever");
PutStreamIntegrationTest.java 70 return newFixedLengthResponse(Response.Status.INTERNAL_ERROR, NanoHTTPD.MIME_PLAINTEXT, e.getMessage());
74 return newFixedLengthResponse(response);
CookieIntegrationTest.java 76 return newFixedLengthResponse("Cookies!");
GetAndPostIntegrationTest.java 89 return newFixedLengthResponse(Status.OK, "application/octet-stream", sb.toString());
91 return newFixedLengthResponse(sb.toString());
  /external/nanohttpd/samples/src/main/java/fi/iki/elonen/
HelloServer.java 75 return newFixedLengthResponse(msg);
  /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/nanolets/src/test/java/fi/iki/elonen/router/
AppNanolets.java 99 return NanoHTTPD.newFixedLengthResponse(getStatus(), getMimeType(), inp, size);
  /external/nanohttpd/samples/src/main/java/fi/iki/elonen/debug/
DebugServer.java 87 return newFixedLengthResponse(sb.toString());
  /external/nanohttpd/nanolets/src/main/java/fi/iki/elonen/router/
RouterNanoHTTPD.java 125 return NanoHTTPD.newFixedLengthResponse(getStatus(), getMimeType(), getText());
173 return NanoHTTPD.newFixedLengthResponse(getStatus(), getMimeType(), text.toString());
235 return NanoHTTPD.newFixedLengthResponse(NanoHTTPD.Response.Status.REQUEST_TIMEOUT, "text/plain", null);
389 return NanoHTTPD.newFixedLengthResponse(Status.OK, "text/plain", //
401 return NanoHTTPD.newFixedLengthResponse(Status.INTERNAL_ERROR, "text/plain", error);
  /external/nanohttpd/core/src/main/java/fi/iki/elonen/
NanoHTTPD.java     [all...]
  /external/nanohttpd/fileupload/src/test/java/fi/iki/elonen/
TestNanoFileUpLoad.java 86 public Response response = newFixedLengthResponse("");
  /external/nanohttpd/websocket/src/main/java/fi/iki/elonen/
NanoWSD.java 838 return newFixedLengthResponse(Response.Status.BAD_REQUEST, NanoHTTPD.MIME_PLAINTEXT,
843 return newFixedLengthResponse(Response.Status.BAD_REQUEST, NanoHTTPD.MIME_PLAINTEXT, "Missing Websocket-Key");
851 return newFixedLengthResponse(Response.Status.INTERNAL_ERROR, NanoHTTPD.MIME_PLAINTEXT,
    [all...]
  /external/nanohttpd/
README.md 69 return newFixedLengthResponse( msg + "</body></html>\n" );
  /external/nanohttpd/src/site/markdown/
index.md 69 return newFixedLengthResponse( msg + "</body></html>\n" );

Completed in 121 milliseconds