public interface RequestParameterHandler extends Immutable
限定符和类型 | 字段和说明 |
---|---|
static int |
CURRENT_LEVEL |
static java.lang.String |
XML_TAG |
DEFAULT_LAYER_INDEX
限定符和类型 | 方法和说明 |
---|---|
java.lang.Object |
getParameterFromAttribute(javax.servlet.http.HttpServletRequest req,
java.lang.String name)
从HTTP请求的属性中获取参数
|
java.lang.Object |
getParameterFromJSONParameters(javax.servlet.http.HttpServletRequest req,
java.lang.String name)
从内置的JSON格式的参数中获取参数
|
java.lang.Object |
getParameterFromRequest(javax.servlet.http.HttpServletRequest req,
java.lang.String name)
从HTTP请求中直接获取参数
|
java.lang.Object |
getParameterFromRequestInputStream(javax.servlet.http.HttpServletRequest req,
java.lang.String name)
从HTTP请求中直接获取参数
|
java.lang.Object |
getParameterFromSession(javax.servlet.http.HttpServletRequest req,
java.lang.String name)
从HTTP会话中获取参数
|
currentAPILevel
layerIndex
static final java.lang.String XML_TAG
static final int CURRENT_LEVEL
java.lang.Object getParameterFromRequest(javax.servlet.http.HttpServletRequest req, java.lang.String name)
req
- HTTP请求name
- 参数名java.lang.Object getParameterFromRequestInputStream(javax.servlet.http.HttpServletRequest req, java.lang.String name)
req
- HTTP请求name
- 参数名java.lang.Object getParameterFromAttribute(javax.servlet.http.HttpServletRequest req, java.lang.String name)
req
- HTTP请求name
- 参数名java.lang.Object getParameterFromJSONParameters(javax.servlet.http.HttpServletRequest req, java.lang.String name)
req
- HTTP请求name
- 参数名java.lang.Object getParameterFromSession(javax.servlet.http.HttpServletRequest req, java.lang.String name)
req
- HTTP请求name
- 参数名