Node Director
|
Public Member Functions | |
HTTPSession (TempFileManager tempFileManager, InputStream inputStream, OutputStream outputStream) | |
HTTPSession (TempFileManager tempFileManager, InputStream inputStream, OutputStream outputStream, InetAddress inetAddress) | |
void | execute () throws IOException |
CookieHandler | getCookies () |
final Map< String, String > | getHeaders () |
final InputStream | getInputStream () |
final Method | getMethod () |
final Map< String, String > | getParms () |
String | getQueryParameterString () |
final String | getUri () |
void | parseBody (Map< String, String > files) throws IOException, ResponseException |
Adds the files in the request body to the files map. |
Static Public Attributes | |
static final int | BUFSIZE = 8192 |
fi.iki.elonen.NanoHTTPD.HTTPSession.HTTPSession | ( | TempFileManager | tempFileManager, |
InputStream | inputStream, | ||
OutputStream | outputStream | ||
) |
References fi.iki.elonen.NanoHTTPD.HTTPSession.BUFSIZE.
fi.iki.elonen.NanoHTTPD.HTTPSession.HTTPSession | ( | TempFileManager | tempFileManager, |
InputStream | inputStream, | ||
OutputStream | outputStream, | ||
InetAddress | inetAddress | ||
) |
References fi.iki.elonen.NanoHTTPD.HTTPSession.BUFSIZE.
void fi.iki.elonen.NanoHTTPD.HTTPSession.execute | ( | ) | throws IOException |
Implements fi.iki.elonen.NanoHTTPD.IHTTPSession.
References fi.iki.elonen.NanoHTTPD.HTTPSession.BUFSIZE, fi.iki.elonen.NanoHTTPD.TempFileManager.clear(), fi.iki.elonen.NanoHTTPD.Method.lookup(), fi.iki.elonen.NanoHTTPD.MIME_PLAINTEXT, fi.iki.elonen.NanoHTTPD.newFixedLengthResponse(), fi.iki.elonen.NanoHTTPD.serve(), fi.iki.elonen.NanoHTTPD.CookieHandler.unloadQueue(), and fi.iki.elonen.NanoHTTPD.useGzipWhenAccepted().
Referenced by fi.iki.elonen.NanoHTTPD.ClientHandler.run().
CookieHandler fi.iki.elonen.NanoHTTPD.HTTPSession.getCookies | ( | ) |
Implements fi.iki.elonen.NanoHTTPD.IHTTPSession.
final Map<String, String> fi.iki.elonen.NanoHTTPD.HTTPSession.getHeaders | ( | ) |
Implements fi.iki.elonen.NanoHTTPD.IHTTPSession.
final InputStream fi.iki.elonen.NanoHTTPD.HTTPSession.getInputStream | ( | ) |
Implements fi.iki.elonen.NanoHTTPD.IHTTPSession.
final Method fi.iki.elonen.NanoHTTPD.HTTPSession.getMethod | ( | ) |
Implements fi.iki.elonen.NanoHTTPD.IHTTPSession.
final Map<String, String> fi.iki.elonen.NanoHTTPD.HTTPSession.getParms | ( | ) |
Implements fi.iki.elonen.NanoHTTPD.IHTTPSession.
String fi.iki.elonen.NanoHTTPD.HTTPSession.getQueryParameterString | ( | ) |
Implements fi.iki.elonen.NanoHTTPD.IHTTPSession.
final String fi.iki.elonen.NanoHTTPD.HTTPSession.getUri | ( | ) |
Implements fi.iki.elonen.NanoHTTPD.IHTTPSession.
void fi.iki.elonen.NanoHTTPD.HTTPSession.parseBody | ( | Map< String, String > | files | ) | throws IOException, ResponseException |
Adds the files in the request body to the files map.
files | map to modify |
Implements fi.iki.elonen.NanoHTTPD.IHTTPSession.
References fi.iki.elonen.NanoHTTPD.Method.POST, and fi.iki.elonen.NanoHTTPD.Method.PUT.
|
static |