| Modifier and Type | Field and Description |
|---|---|
InputStream |
data
Data of the response, may be null.
|
Properties |
header
Headers for the HTTP response.
|
String |
mimeType
MIME type of content, e.g.
|
String |
status
HTTP status code after processing, e.g.
|
| Constructor and Description |
|---|
NanoHTTPD.Response()
Default constructor: response = HTTP_OK, data = mime = 'null'
|
NanoHTTPD.Response(String status,
String mimeType,
InputStream data)
Basic constructor.
|
NanoHTTPD.Response(String status,
String mimeType,
String txt)
Convenience method that makes an InputStream out of
given text.
|
public String status
public String mimeType
public InputStream data
public Properties header
public NanoHTTPD.Response()
public NanoHTTPD.Response(String status, String mimeType, InputStream data)
Copyright © 2013–2014 0xdata. All rights reserved.