|
| AppInvHTTPD (int port, File wwwroot, boolean secure, ReplForm form) throws IOException |
|
Response | serve (String uri, String method, Properties header, Properties parms, Properties files, Socket mySocket) |
|
void | resetSeq () |
|
| NanoHTTPD (int port, File wwwroot) throws IOException |
|
void | stop () |
|
Response | serveFile (String uri, Properties header, File homeDir, boolean allowDirectoryListing) |
|
|
static void | setHmacKey (String inputKey) |
|
static void | main (String[] args) |
|
|
static final String | HTTP_OK = "200 OK" |
|
static final String | MIME_PLAINTEXT = "text/plain" |
|
static PrintStream | myOut = System.out |
|
static PrintStream | myErr = System.err |
|
Definition at line 41 of file AppInvHTTPD.java.
◆ AppInvHTTPD()
com.google.appinventor.components.runtime.util.AppInvHTTPD.AppInvHTTPD |
( |
int |
port, |
|
|
File |
wwwroot, |
|
|
boolean |
secure, |
|
|
ReplForm |
form |
|
) |
| throws IOException |
◆ resetSeq()
void com.google.appinventor.components.runtime.util.AppInvHTTPD.resetSeq |
( |
| ) |
|
◆ serve()
Response com.google.appinventor.components.runtime.util.AppInvHTTPD.serve |
( |
String |
uri, |
|
|
String |
method, |
|
|
Properties |
header, |
|
|
Properties |
parms, |
|
|
Properties |
files, |
|
|
Socket |
mySocket |
|
) |
| |
- Parameters
-
uri | Percent-decoded URI without parameters, for example "/index.cgi" |
method | "GET", "POST" etc. |
parms | Parsed, percent decoded parameters from URI and, in case of POST, data. |
header | Header entries, percent decoded |
- Returns
- HTTP response, see class Response for details
Reimplemented from com.google.appinventor.components.runtime.util.NanoHTTPD.
Definition at line 74 of file AppInvHTTPD.java.
◆ setHmacKey()
static void com.google.appinventor.components.runtime.util.AppInvHTTPD.setHmacKey |
( |
String |
inputKey | ) |
|
|
static |
- Parameters
-
inputKey | String key to use the HTOP algorithm seed |
Definition at line 401 of file AppInvHTTPD.java.
The documentation for this class was generated from the following file:
- C:/Users/Ulli/appinventor-sources/appinventor/components/src/com/google/appinventor/components/runtime/util/AppInvHTTPD.java