Home
last modified time | relevance | path

Searched refs:MIME_PLAINTEXT (Results 1 – 4 of 4) sorted by relevance

/external/nanohttpd/webserver/src/main/java/fi/iki/elonen/
DSimpleWebServer.java267 …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()
363 r = new NanoHTTPD.Response(Response.Status.OK, MIME_PLAINTEXT, null, 0); in respond()
540 … res = newFixedLengthResponse(Response.Status.RANGE_NOT_SATISFIABLE, NanoHTTPD.MIME_PLAINTEXT, ""); in serveFile()
/external/nanohttpd/core/src/test/java/fi/iki/elonen/integration/
DPutStreamIntegrationTest.java70 …urn newFixedLengthResponse(Response.Status.INTERNAL_ERROR, NanoHTTPD.MIME_PLAINTEXT, e.getMessage(… in serve()
/external/nanohttpd/core/src/main/java/fi/iki/elonen/
DNanoHTTPD.java866 …p = newFixedLengthResponse(Response.Status.INTERNAL_ERROR, NanoHTTPD.MIME_PLAINTEXT, "SERVER INTER… in execute()
870 … Response resp = newFixedLengthResponse(re.getStatus(), NanoHTTPD.MIME_PLAINTEXT, re.getMessage()); in execute()
1643 public static final String MIME_PLAINTEXT = "text/plain"; local
2023 …urn newFixedLengthResponse(Response.Status.INTERNAL_ERROR, NanoHTTPD.MIME_PLAINTEXT, "SERVER INTER… in serve()
2025 … return newFixedLengthResponse(re.getStatus(), NanoHTTPD.MIME_PLAINTEXT, re.getMessage()); in serve()
2054 … return newFixedLengthResponse(Response.Status.NOT_FOUND, NanoHTTPD.MIME_PLAINTEXT, "Not Found"); in serve()
/external/nanohttpd/websocket/src/main/java/fi/iki/elonen/
DNanoWSD.java838 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()