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.Response
NanoWSD.WebSocket.handshakeResponse
Methods in fi.iki.elonen that return NanoHTTPD.ResponseModifier and TypeMethodDescriptionprotected NanoHTTPD.Response
SimpleWebServer.addCORSHeaders
(Map<String, String> queryHeaders, NanoHTTPD.Response resp, String cors) private NanoHTTPD.Response
SimpleWebServer.defaultRespond
(Map<String, String> headers, NanoHTTPD.IHTTPSession session, String uri) protected NanoHTTPD.Response
SimpleWebServer.getForbiddenResponse
(String s) NanoWSD.WebSocket.getHandshakeResponse()
protected NanoHTTPD.Response
SimpleWebServer.getInternalErrorResponse
(String s) protected NanoHTTPD.Response
SimpleWebServer.getNotFoundResponse()
static NanoHTTPD.Response
NanoHTTPD.newChunkedResponse
(NanoHTTPD.Response.IStatus status, String mimeType, InputStream data) Create a response with unknown length (using HTTP 1.1 chunking).private NanoHTTPD.Response
SimpleWebServer.newFixedFileResponse
(File file, String mime) static NanoHTTPD.Response
NanoHTTPD.newFixedLengthResponse
(NanoHTTPD.Response.IStatus status, String mimeType, InputStream data, long totalBytes) Create a response with known length.static NanoHTTPD.Response
NanoHTTPD.newFixedLengthResponse
(NanoHTTPD.Response.IStatus status, String mimeType, String txt) Create a text response with known length.static NanoHTTPD.Response
NanoHTTPD.newFixedLengthResponse
(String msg) Create a text response with known length.static NanoHTTPD.Response
SimpleWebServer.newFixedLengthResponse
(NanoHTTPD.Response.IStatus status, String mimeType, String message) private NanoHTTPD.Response
HelloServer.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.Response
Serves file from homeDir and its' subdirectories (only).WebServerPlugin.serveFile
(String uri, Map<String, String> headers, NanoHTTPD.IHTTPSession session, File file, String mimeType) protected NanoHTTPD.Response
NanoWSD.serveHttp
(NanoHTTPD.IHTTPSession session) Methods in fi.iki.elonen with parameters of type NanoHTTPD.ResponseModifier and TypeMethodDescriptionprotected NanoHTTPD.Response
SimpleWebServer.addCORSHeaders
(Map<String, String> queryHeaders, NanoHTTPD.Response resp, String cors) void
NanoHTTPD.CookieHandler.unloadQueue
(NanoHTTPD.Response response) Internally used by the webserver to add all queued cookies into the Response's HTTP Headers.protected boolean
NanoHTTPD.useGzipWhenAccepted
(NanoHTTPD.Response r) protected boolean
NanoWSD.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)