static NanoHTTPD.Response serve404() { ret serve404("Not Found"); } static NanoHTTPD.Response serve404(S msg) { ret NanoHTTPD.newFixedLengthResponse(NanoHTTPD.Status.NOT_FOUND, NanoHTTPD.MIME_PLAINTEXT, "Code 404 - " + msg); }