public static interface NanoHTTPD.IHTTPSession
| 限定符和类型 | 方法和说明 |
|---|---|
void |
execute() |
NanoHTTPD.CookieHandler |
getCookies() |
Map<String,String> |
getHeaders() |
InputStream |
getInputStream() |
NanoHTTPD.Method |
getMethod() |
Map<String,String> |
getParms() |
String |
getQueryParameterString() |
String |
getRemoteHostName()
Get the remote hostname of the requester.
|
String |
getRemoteIpAddress()
Get the remote ip address of the requester.
|
String |
getUri() |
void |
parseBody(Map<String,String> files)
Adds the files in the request body to the files map.
|
void execute()
throws IOException
IOExceptionNanoHTTPD.CookieHandler getCookies()
InputStream getInputStream()
NanoHTTPD.Method getMethod()
String getQueryParameterString()
String getUri()
void parseBody(Map<String,String> files) throws IOException, NanoHTTPD.ResponseException
files - map to modifyIOExceptionNanoHTTPD.ResponseExceptionString getRemoteIpAddress()
String getRemoteHostName()
Copyright © 2020. All rights reserved.