/external/nanohttpd/core/src/test/java/fi/iki/elonen/ |
D | HttpDeleteRequestTest.java | 45 …this.testServer.response = NanoHTTPD.newFixedLengthResponse(NanoHTTPD.Response.Status.NO_CONTENT, … in testDeleteRequestThatDoesntSendBackResponseBody_EmptyString() 81 …this.testServer.response = NanoHTTPD.newFixedLengthResponse(NanoHTTPD.Response.Status.NO_CONTENT, … in testDeleteRequestThatDoesntSendBackResponseBody_NullString() 99 …this.testServer.response = NanoHTTPD.newFixedLengthResponse(NanoHTTPD.Response.Status.ACCEPTED, "a… in testDeleteRequestThatSendsBackResponseBody_Accepted() 118 …this.testServer.response = NanoHTTPD.newFixedLengthResponse(NanoHTTPD.Response.Status.OK, "applica… in testDeleteRequestThatSendsBackResponseBody_Success()
|
D | HttpServerTest.java | 64 public Response response = newFixedLengthResponse("");
|
D | HttpGetRequestTest.java | 171 this.testServer.response = NanoHTTPD.newFixedLengthResponse(responseBody); in testOutputOfServeSentBackToClient()
|
D | HttpHeadRequestTest.java | 51 this.testServer.response = NanoHTTPD.newFixedLengthResponse(responseBody); in setUp()
|
/external/nanohttpd/core/src/test/java/fi/iki/elonen/integration/ |
D | GZipIntegrationTest.java | 84 testServer.response = NanoHTTPD.newFixedLengthResponse("This is a test"); in contentEncodingShouldBeAddedToFixedLengthResponses() 107 testServer.response = NanoHTTPD.newFixedLengthResponse("This is a test"); in shouldFindCorrectAcceptEncodingAmongMany() 118 testServer.response = NanoHTTPD.newFixedLengthResponse("This is a test"); in contentLengthShouldBeRemovedFromZippedResponses() 128 testServer.response = NanoHTTPD.newFixedLengthResponse("This is a test"); in fixedLengthContentIsEncodedProperly() 147 testServer.response = NanoHTTPD.newFixedLengthResponse("This is a test"); in noGzipWithoutAcceptEncoding() 157 testServer.response = NanoHTTPD.newFixedLengthResponse("This is a test"); in contentShouldNotBeGzippedIfContentLengthIsAddedManually()
|
D | PutStreamIntegrationTest.java | 70 …return newFixedLengthResponse(Response.Status.INTERNAL_ERROR, NanoHTTPD.MIME_PLAINTEXT, e.getMessa… in serve() 74 return newFixedLengthResponse(response); in serve()
|
D | GetAndPostIntegrationTest.java | 89 return newFixedLengthResponse(Status.OK, "application/octet-stream", sb.toString()); in serve() 91 return newFixedLengthResponse(sb.toString()); in serve()
|
D | ShutdownTest.java | 58 return newFixedLengthResponse("Whatever"); in serve()
|
D | CookieIntegrationTest.java | 76 return newFixedLengthResponse("Cookies!"); in serve()
|
/external/nanohttpd/webserver/src/main/java/fi/iki/elonen/ |
D | SimpleWebServer.java | 267 …return newFixedLengthResponse(Response.Status.FORBIDDEN, NanoHTTPD.MIME_PLAINTEXT, "FORBIDDEN: " +… in getForbiddenResponse() 271 …return newFixedLengthResponse(Response.Status.INTERNAL_ERROR, NanoHTTPD.MIME_PLAINTEXT, "INTERNAL … in getInternalErrorResponse() 275 …return newFixedLengthResponse(Response.Status.NOT_FOUND, NanoHTTPD.MIME_PLAINTEXT, "Error 404, fil… in getNotFoundResponse() 353 public static Response newFixedLengthResponse(IStatus status, String mimeType, String message) { in newFixedLengthResponse() method in SimpleWebServer 354 Response response = NanoHTTPD.newFixedLengthResponse(status, mimeType, message); in newFixedLengthResponse() 402 …newFixedLengthResponse(Response.Status.REDIRECT, NanoHTTPD.MIME_HTML, "<html><body>Redirected: <a … in defaultRespond() 414 … return newFixedLengthResponse(Response.Status.OK, NanoHTTPD.MIME_HTML, listDirectory(uri, f)); in defaultRespond() 515 res = newFixedLengthResponse(Response.Status.NOT_MODIFIED, mime, ""); in serveFile() 529 … res = newFixedLengthResponse(Response.Status.PARTIAL_CONTENT, mime, fis, newLen); in serveFile() 540 … res = newFixedLengthResponse(Response.Status.RANGE_NOT_SATISFIABLE, NanoHTTPD.MIME_PLAINTEXT, ""); in serveFile() [all …]
|
/external/nanohttpd/nanolets/src/main/java/fi/iki/elonen/router/ |
D | RouterNanoHTTPD.java | 125 return NanoHTTPD.newFixedLengthResponse(getStatus(), getMimeType(), getText()); in get() 173 return NanoHTTPD.newFixedLengthResponse(getStatus(), getMimeType(), text.toString()); in get() 235 …return NanoHTTPD.newFixedLengthResponse(NanoHTTPD.Response.Status.REQUEST_TIMEOUT, "text/plain", n… in get() 389 return NanoHTTPD.newFixedLengthResponse(Status.OK, "text/plain", // in process() 401 return NanoHTTPD.newFixedLengthResponse(Status.INTERNAL_ERROR, "text/plain", error); in process()
|
/external/nanohttpd/core/src/main/java/fi/iki/elonen/ |
D | NanoHTTPD.java | 866 …Response resp = newFixedLengthResponse(Response.Status.INTERNAL_ERROR, NanoHTTPD.MIME_PLAINTEXT, "… in execute() 870 … Response resp = newFixedLengthResponse(re.getStatus(), NanoHTTPD.MIME_PLAINTEXT, re.getMessage()); in execute() 1977 …public static Response newFixedLengthResponse(IStatus status, String mimeType, InputStream data, l… in newFixedLengthResponse() method 1984 public static Response newFixedLengthResponse(IStatus status, String mimeType, String txt) { in newFixedLengthResponse() method 1986 … return newFixedLengthResponse(status, mimeType, new ByteArrayInputStream(new byte[0]), 0); in newFixedLengthResponse() 1995 … return newFixedLengthResponse(status, mimeType, new ByteArrayInputStream(bytes), bytes.length); in newFixedLengthResponse() 2002 public static Response newFixedLengthResponse(String msg) { in newFixedLengthResponse() method 2003 return newFixedLengthResponse(Status.OK, NanoHTTPD.MIME_HTML, msg); in newFixedLengthResponse() 2023 …return newFixedLengthResponse(Response.Status.INTERNAL_ERROR, NanoHTTPD.MIME_PLAINTEXT, "SERVER IN… in serve() 2025 … return newFixedLengthResponse(re.getStatus(), NanoHTTPD.MIME_PLAINTEXT, re.getMessage()); in serve() [all …]
|
/external/nanohttpd/samples/src/main/java/fi/iki/elonen/ |
D | HelloServer.java | 75 return newFixedLengthResponse(msg); in serve()
|
/external/nanohttpd/samples/src/main/java/fi/iki/elonen/debug/ |
D | DebugServer.java | 87 return newFixedLengthResponse(sb.toString()); in serve()
|
/external/nanohttpd/nanolets/src/test/java/fi/iki/elonen/router/ |
D | AppNanolets.java | 99 return NanoHTTPD.newFixedLengthResponse(getStatus(), getMimeType(), inp, size); in get()
|
/external/nanohttpd/websocket/src/main/java/fi/iki/elonen/ |
D | NanoWSD.java | 838 return newFixedLengthResponse(Response.Status.BAD_REQUEST, NanoHTTPD.MIME_PLAINTEXT, in serve() 843 …return newFixedLengthResponse(Response.Status.BAD_REQUEST, NanoHTTPD.MIME_PLAINTEXT, "Missing Webs… in serve() 851 … return newFixedLengthResponse(Response.Status.INTERNAL_ERROR, NanoHTTPD.MIME_PLAINTEXT, in serve()
|
/external/nanohttpd/fileupload/src/test/java/fi/iki/elonen/ |
D | TestNanoFileUpLoad.java | 86 public Response response = newFixedLengthResponse("");
|
/external/nanohttpd/src/site/markdown/ |
D | index.md | 69 return newFixedLengthResponse( msg + "</body></html>\n" );
|
/external/nanohttpd/ |
D | README.md | 69 return newFixedLengthResponse( msg + "</body></html>\n" );
|