Package | Description |
---|---|
fi.iki.elonen |
Modifier and Type | Method and Description |
---|---|
static NanoHTTPD.Response |
NanoHTTPD.newChunkedResponse(NanoHTTPD.Response.IStatus status, String mimeType, InputStream data)
Create a response with unknown length (using HTTP 1.1 chunking).
|
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.
|
NanoHTTPD.Response |
NanoHTTPD.serve(NanoHTTPD.IHTTPSession session)
Override this to customize the server.
|
NanoHTTPD.Response |
NanoHTTPD.serve(String uri, NanoHTTPD.Method method, Map
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
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) |
Copyright © 2012–2016 nanohttpd. All rights reserved.