public interface IHTTPSession
| 限定符和类型 | 方法和说明 |
|---|---|
void |
execute() |
CookieHandler |
getCookies() |
Map<String,String> |
getHeaders() |
InputStream |
getInputStream() |
Method |
getMethod() |
Map<String,List<String>> |
getParameters() |
Map<String,String> |
getParms()
已过时。
use
getParameters() instead. |
String |
getQueryParameterString() |
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
IOExceptionCookieHandler getCookies()
InputStream getInputStream()
Method getMethod()
@Deprecated Map<String,String> getParms()
getParameters() instead.String getQueryParameterString()
String getUri()
void parseBody(Map<String,String> files) throws IOException, NanoHTTPD.ResponseException
files - map to modifyIOExceptionNanoHTTPD.ResponseExceptionString getRemoteIpAddress()
Copyright © 2012–2020 nanohttpd. All rights reserved.