Interface NanoHTTPD.IHTTPSession
- All Known Implementing Classes:
NanoHTTPD.HTTPSession
- Enclosing class:
NanoHTTPD
public static interface NanoHTTPD.IHTTPSession
Handles one session, i.e. parses the HTTP request and returns the
response.
-
Method Details
-
execute
- Throws:
IOException
-
getCookies
NanoHTTPD.CookieHandler getCookies() -
getHeaders
-
getInputStream
InputStream getInputStream() -
getMethod
NanoHTTPD.Method getMethod() -
getParms
Deprecated.usegetParameters()instead.This method will only return the first value for a given parameter. You will want to use getParameters if you expect multiple values for a given key. -
getParameters
-
getQueryParameterString
String getQueryParameterString() -
getUri
String getUri()- Returns:
- the path part of the URL.
-
parseBody
Adds the files in the request body to the files map.- Parameters:
files- map to modify- Throws:
IOExceptionNanoHTTPD.ResponseException
-
getRemoteIpAddress
-
getRemoteHostName
-
getParameters()instead.