Uses of Class
fi.iki.elonen.NanoHTTPD.Response
Packages that use NanoHTTPD.Response
-
Uses of NanoHTTPD.Response in fi.iki.elonen
Subclasses of NanoHTTPD.Response in fi.iki.elonenFields in fi.iki.elonen declared as NanoHTTPD.ResponseModifier and TypeFieldDescriptionprivate final NanoHTTPD.ResponseNanoWSD.WebSocket.handshakeResponseMethods in fi.iki.elonen that return NanoHTTPD.ResponseModifier and TypeMethodDescriptionprotected NanoHTTPD.ResponseSimpleWebServer.addCORSHeaders(Map<String, String> queryHeaders, NanoHTTPD.Response resp, String cors) private NanoHTTPD.ResponseSimpleWebServer.defaultRespond(Map<String, String> headers, NanoHTTPD.IHTTPSession session, String uri) protected NanoHTTPD.ResponseSimpleWebServer.getForbiddenResponse(String s) NanoWSD.WebSocket.getHandshakeResponse()protected NanoHTTPD.ResponseSimpleWebServer.getInternalErrorResponse(String s) protected NanoHTTPD.ResponseSimpleWebServer.getNotFoundResponse()static NanoHTTPD.ResponseNanoHTTPD.newChunkedResponse(NanoHTTPD.Response.IStatus status, String mimeType, InputStream data) Create a response with unknown length (using HTTP 1.1 chunking).private NanoHTTPD.ResponseSimpleWebServer.newFixedFileResponse(File file, String mime) static NanoHTTPD.ResponseNanoHTTPD.newFixedLengthResponse(NanoHTTPD.Response.IStatus status, String mimeType, InputStream data, long totalBytes) Create a response with known length.static NanoHTTPD.ResponseNanoHTTPD.newFixedLengthResponse(NanoHTTPD.Response.IStatus status, String mimeType, String txt) Create a text response with known length.static NanoHTTPD.ResponseNanoHTTPD.newFixedLengthResponse(String msg) Create a text response with known length.static NanoHTTPD.ResponseSimpleWebServer.newFixedLengthResponse(NanoHTTPD.Response.IStatus status, String mimeType, String message) private NanoHTTPD.ResponseHelloServer.serve(NanoHTTPD.IHTTPSession session) NanoHTTPD.serve(NanoHTTPD.IHTTPSession session) Override this to customize the server.NanoHTTPD.serve(String uri, NanoHTTPD.Method method, Map<String, String> headers, Map<String, String> parms, Map<String, String> files) Deprecated.NanoWSD.serve(NanoHTTPD.IHTTPSession session) SimpleWebServer.serve(NanoHTTPD.IHTTPSession session) MarkdownWebServerPlugin.serveFile(String uri, Map<String, String> headers, NanoHTTPD.IHTTPSession session, File file, String mimeType) (package private) NanoHTTPD.ResponseServes file from homeDir and its' subdirectories (only).WebServerPlugin.serveFile(String uri, Map<String, String> headers, NanoHTTPD.IHTTPSession session, File file, String mimeType) protected NanoHTTPD.ResponseNanoWSD.serveHttp(NanoHTTPD.IHTTPSession session) Methods in fi.iki.elonen with parameters of type NanoHTTPD.ResponseModifier and TypeMethodDescriptionprotected NanoHTTPD.ResponseSimpleWebServer.addCORSHeaders(Map<String, String> queryHeaders, NanoHTTPD.Response resp, String cors) voidNanoHTTPD.CookieHandler.unloadQueue(NanoHTTPD.Response response) Internally used by the webserver to add all queued cookies into the Response's HTTP Headers.protected booleanNanoHTTPD.useGzipWhenAccepted(NanoHTTPD.Response r) protected booleanNanoWSD.useGzipWhenAccepted(NanoHTTPD.Response r) not all websockets implementations accept gzip compression. -
Uses of NanoHTTPD.Response in fi.iki.elonen.debug
Methods in fi.iki.elonen.debug that return NanoHTTPD.Response -
Uses of NanoHTTPD.Response in fi.iki.elonen.router
Methods in fi.iki.elonen.router that return NanoHTTPD.ResponseModifier and TypeMethodDescriptionRouterNanoHTTPD.DefaultStreamHandler.delete(RouterNanoHTTPD.UriResource uriResource, Map<String, String> urlParams, NanoHTTPD.IHTTPSession session) RouterNanoHTTPD.UriResponder.delete(RouterNanoHTTPD.UriResource uriResource, Map<String, String> urlParams, NanoHTTPD.IHTTPSession session) RouterNanoHTTPD.DefaultHandler.get(RouterNanoHTTPD.UriResource uriResource, Map<String, String> urlParams, NanoHTTPD.IHTTPSession session) RouterNanoHTTPD.DefaultStreamHandler.get(RouterNanoHTTPD.UriResource uriResource, Map<String, String> urlParams, NanoHTTPD.IHTTPSession session) RouterNanoHTTPD.GeneralHandler.get(RouterNanoHTTPD.UriResource uriResource, Map<String, String> urlParams, NanoHTTPD.IHTTPSession session) RouterNanoHTTPD.StaticPageHandler.get(RouterNanoHTTPD.UriResource uriResource, Map<String, String> urlParams, NanoHTTPD.IHTTPSession session) RouterNanoHTTPD.UriResponder.get(RouterNanoHTTPD.UriResource uriResource, Map<String, String> urlParams, NanoHTTPD.IHTTPSession session) RouterNanoHTTPD.DefaultStreamHandler.other(String method, RouterNanoHTTPD.UriResource uriResource, Map<String, String> urlParams, NanoHTTPD.IHTTPSession session) RouterNanoHTTPD.UriResponder.other(String method, RouterNanoHTTPD.UriResource uriResource, Map<String, String> urlParams, NanoHTTPD.IHTTPSession session) RouterNanoHTTPD.DefaultStreamHandler.post(RouterNanoHTTPD.UriResource uriResource, Map<String, String> urlParams, NanoHTTPD.IHTTPSession session) RouterNanoHTTPD.UriResponder.post(RouterNanoHTTPD.UriResource uriResource, Map<String, String> urlParams, NanoHTTPD.IHTTPSession session) RouterNanoHTTPD.UriResource.process(Map<String, String> urlParams, NanoHTTPD.IHTTPSession session) RouterNanoHTTPD.UriRouter.process(NanoHTTPD.IHTTPSession session) Search in the mappings if the given url matches some of the rules If there are more than one marches returns the rule with less parameters e.g.RouterNanoHTTPD.DefaultStreamHandler.put(RouterNanoHTTPD.UriResource uriResource, Map<String, String> urlParams, NanoHTTPD.IHTTPSession session) RouterNanoHTTPD.UriResponder.put(RouterNanoHTTPD.UriResource uriResource, Map<String, String> urlParams, NanoHTTPD.IHTTPSession session) RouterNanoHTTPD.serve(NanoHTTPD.IHTTPSession session)