public class DefaultRequestParameterCollector extends AbstractRequestParameterCollector
限定符和类型 | 字段和说明 |
---|---|
static java.lang.String |
INVALID_SPRING_ARG |
CURRENT_LEVEL, XML_TAG
DEFAULT_LAYER_INDEX
构造器和说明 |
---|
DefaultRequestParameterCollector() |
限定符和类型 | 方法和说明 |
---|---|
static DefaultRequestParameterCollector |
getInstance() |
java.util.Map<java.lang.String,java.lang.Object> |
getParametersFromAttribute(javax.servlet.http.HttpServletRequest req)
从HTTP请求的属性中获取所有参数
|
java.util.Map<java.lang.String,java.lang.Object> |
getParametersFromJSON(javax.servlet.http.HttpServletRequest req,
java.util.Map<java.lang.String,java.lang.Object> parameterMap)
从JSON数据中获取所有参数
|
java.util.Map<java.lang.String,java.lang.Object> |
getParametersFromParameter(javax.servlet.http.HttpServletRequest req)
根据特定的参数获取所有参数
|
java.util.Map<java.lang.String,java.lang.Object> |
getParametersFromReqInputStream(javax.servlet.http.HttpServletRequest req)
从HTTP请求的属性中获取所有参数
|
java.util.Map<java.lang.String,java.lang.Object> |
getParametersFromSession(javax.servlet.http.HttpServletRequest req)
从HTTP会话中获取所有的参数
|
currentAPILevel, layerIndex
public static final java.lang.String INVALID_SPRING_ARG
public static DefaultRequestParameterCollector getInstance()
public java.util.Map<java.lang.String,java.lang.Object> getParametersFromSession(javax.servlet.http.HttpServletRequest req)
RequestParameterCollector
req
- HTTP请求public java.util.Map<java.lang.String,java.lang.Object> getParametersFromAttribute(javax.servlet.http.HttpServletRequest req)
RequestParameterCollector
req
- HTTP请求public java.util.Map<java.lang.String,java.lang.Object> getParametersFromParameter(javax.servlet.http.HttpServletRequest req)
RequestParameterCollector
req
- HTTP请求public java.util.Map<java.lang.String,java.lang.Object> getParametersFromJSON(javax.servlet.http.HttpServletRequest req, java.util.Map<java.lang.String,java.lang.Object> parameterMap)
RequestParameterCollector
req
- HTTP请求public java.util.Map<java.lang.String,java.lang.Object> getParametersFromReqInputStream(javax.servlet.http.HttpServletRequest req)
RequestParameterCollector
req
- HTTP请求RequestParameterCollector.getParametersFromReqInputStream(javax.servlet.http.HttpServletRequest)