Node Director
Public Member Functions | Static Public Attributes | List of all members
fi.iki.elonen.NanoHTTPD.HTTPSession Class Reference
Inheritance diagram for fi.iki.elonen.NanoHTTPD.HTTPSession:
fi.iki.elonen.NanoHTTPD.IHTTPSession

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

Constructor & Destructor Documentation

fi.iki.elonen.NanoHTTPD.HTTPSession.HTTPSession ( TempFileManager  tempFileManager,
InputStream  inputStream,
OutputStream  outputStream 
)
fi.iki.elonen.NanoHTTPD.HTTPSession.HTTPSession ( TempFileManager  tempFileManager,
InputStream  inputStream,
OutputStream  outputStream,
InetAddress  inetAddress 
)

Member Function Documentation

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

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.

Parameters
filesmap to modify

Implements fi.iki.elonen.NanoHTTPD.IHTTPSession.

References fi.iki.elonen.NanoHTTPD.Method.POST, and fi.iki.elonen.NanoHTTPD.Method.PUT.

Member Data Documentation

final int fi.iki.elonen.NanoHTTPD.HTTPSession.BUFSIZE = 8192
static

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