| Package | Description |
|---|---|
| de.tsl2.nano.h5 |
| Modifier and Type | Class and Description |
|---|---|
static class |
NanoHTTPD.Response.Status
Some HTTP response status codes
|
| Modifier and Type | Method and Description |
|---|---|
NanoHTTPD.Response.IStatus |
NanoHTTPD.Response.getStatus() |
| 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.
|
void |
NanoHTTPD.Response.setStatus(NanoHTTPD.Response.IStatus status) |
| Constructor and Description |
|---|
Response(NanoHTTPD.Response.IStatus status,
String mimeType,
InputStream data,
long totalBytes)
Creates a fixed length response if totalBytes>=0, otherwise chunked.
|
Copyright © 2012–2020. All rights reserved.