Node Director
Public Member Functions | List of all members
fi.iki.elonen.NanoHTTPD.IHTTPSession Interface Reference

Handles one session, i.e. More...

Inheritance diagram for fi.iki.elonen.NanoHTTPD.IHTTPSession:
fi.iki.elonen.NanoHTTPD.HTTPSession

Public Member Functions

void execute () throws IOException
CookieHandler getCookies ()
Map< String, String > getHeaders ()
InputStream getInputStream ()
Method getMethod ()
Map< String, String > getParms ()
String getQueryParameterString ()
String getUri ()
void parseBody (Map< String, String > files) throws IOException, ResponseException
 Adds the files in the request body to the files map.

Detailed Description

Handles one session, i.e.

parses the HTTP request and returns the response.

Member Function Documentation

void fi.iki.elonen.NanoHTTPD.IHTTPSession.execute ( ) throws IOException
CookieHandler fi.iki.elonen.NanoHTTPD.IHTTPSession.getCookies ( )
Map<String, String> fi.iki.elonen.NanoHTTPD.IHTTPSession.getHeaders ( )
InputStream fi.iki.elonen.NanoHTTPD.IHTTPSession.getInputStream ( )
Method fi.iki.elonen.NanoHTTPD.IHTTPSession.getMethod ( )
Map<String, String> fi.iki.elonen.NanoHTTPD.IHTTPSession.getParms ( )
String fi.iki.elonen.NanoHTTPD.IHTTPSession.getQueryParameterString ( )
String fi.iki.elonen.NanoHTTPD.IHTTPSession.getUri ( )
Returns
the path part of the URL.

Implemented in fi.iki.elonen.NanoHTTPD.HTTPSession.

Referenced by fi.iki.elonen.NanoHTTPD.serve().

void fi.iki.elonen.NanoHTTPD.IHTTPSession.parseBody ( Map< String, String >  files) throws IOException, ResponseException

Adds the files in the request body to the files map.

Parameters
filesmap to modify

Implemented in fi.iki.elonen.NanoHTTPD.HTTPSession.

Referenced by fi.iki.elonen.NanoHTTPD.serve().


The documentation for this interface was generated from the following file: