public class HttpParameterHandler extends BaseHandler
限定符和类型 | 字段和说明 |
---|---|
private org.springframework.http.converter.HttpMessageConverter<java.lang.Object> |
httpMessageConverter |
private org.springframework.http.MediaType |
mediaType |
private javax.servlet.http.HttpServletRequest |
request |
private javax.servlet.http.HttpServletResponse |
response |
log, map, PARAMETER_TYPE_BIGDECIMAL, PARAMETER_TYPE_BOOLEAN, PARAMETER_TYPE_BYTE, PARAMETER_TYPE_CHAR, PARAMETER_TYPE_DATE, PARAMETER_TYPE_DOUBLE, PARAMETER_TYPE_INTEGER, PARAMETER_TYPE_INTEGERARRAY, PARAMETER_TYPE_LONG, PARAMETER_TYPE_LONGARRAY, PARAMETER_TYPE_SHORT, PARAMETER_TYPE_SHORTARRAY, PARAMETER_TYPE_STRING, PARAMETER_TYPE_STRINGARRAY, parameterList, PARAMETERS_CONTROLLER, PARAMETERS_NAME, regristerParameters, renderd
构造器和说明 |
---|
HttpParameterHandler(org.springframework.http.converter.HttpMessageConverter<java.lang.Object> httpMessageConverter,
org.springframework.http.MediaType mediaType,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
限定符和类型 | 方法和说明 |
---|---|
java.lang.Object |
getAttribute(java.lang.String name) |
java.math.BigDecimal |
getBigDecimal(java.lang.String name) |
protected java.lang.Boolean |
getBooleanWithoutRegister(java.lang.String name) |
java.lang.Byte |
getByteWithoutRegister(java.lang.String name) |
java.util.Date |
getDateWithoutRegister(java.lang.String name) |
java.lang.Double |
getDouble(java.lang.String name) |
protected java.lang.Integer |
getIntegerWithoutRegister(java.lang.String name) |
java.util.Locale |
getLocale() |
java.lang.Long |
getLong(java.lang.String name) |
java.util.Map<java.lang.String,java.lang.String> |
getMap(java.lang.String name) |
javax.servlet.http.HttpServletRequest |
getRequest() |
java.lang.Short |
getShort(java.lang.String name) |
protected java.lang.String[] |
getStringArrayWithoutRegister(java.lang.String name) |
protected java.lang.String |
getStringWithoutRegister(java.lang.String name) |
java.io.Writer |
getWriter()
获取Writer
|
boolean |
inHttp() |
void |
print(java.lang.String value)
打印
|
void |
render()
渲染
|
getBoolean, getBoolean, getBooleanWithoutRegister, getByte, getByte, getCharacter, getDate, getDate, getInteger, getInteger, getIntegerArray, getLong, getLongArray, getRenderd, getShortArray, getSize, getString, getString, getStringArray, getStringArray, put, regristerParameter, regristerParameter, regristerParameters
private org.springframework.http.MediaType mediaType
private org.springframework.http.converter.HttpMessageConverter<java.lang.Object> httpMessageConverter
private javax.servlet.http.HttpServletRequest request
private javax.servlet.http.HttpServletResponse response
public HttpParameterHandler(org.springframework.http.converter.HttpMessageConverter<java.lang.Object> httpMessageConverter, org.springframework.http.MediaType mediaType, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
httpMessageConverter
- mediaType
- request
- response
- public void render() throws org.springframework.http.converter.HttpMessageNotWritableException, java.io.IOException
RenderHandler
java.io.IOException
org.springframework.http.converter.HttpMessageNotWritableException
public void print(java.lang.String value) throws java.io.IOException
RenderHandler
java.io.IOException
public java.io.Writer getWriter() throws java.io.IOException
RenderHandler
java.io.IOException
protected java.lang.String getStringWithoutRegister(java.lang.String name)
getStringWithoutRegister
在类中 BaseHandler
protected java.lang.Integer getIntegerWithoutRegister(java.lang.String name)
getIntegerWithoutRegister
在类中 BaseHandler
public java.lang.Byte getByteWithoutRegister(java.lang.String name)
getByteWithoutRegister
在类中 BaseHandler
public java.lang.Short getShort(java.lang.String name)
public java.lang.Long getLong(java.lang.String name)
public java.lang.Double getDouble(java.lang.String name)
public java.math.BigDecimal getBigDecimal(java.lang.String name)
protected java.lang.String[] getStringArrayWithoutRegister(java.lang.String name)
getStringArrayWithoutRegister
在类中 BaseHandler
protected java.lang.Boolean getBooleanWithoutRegister(java.lang.String name)
getBooleanWithoutRegister
在类中 BaseHandler
public java.util.Date getDateWithoutRegister(java.lang.String name)
getDateWithoutRegister
在类中 BaseHandler
public java.util.Map<java.lang.String,java.lang.String> getMap(java.lang.String name)
public java.util.Locale getLocale()
public javax.servlet.http.HttpServletRequest getRequest()
public java.lang.Object getAttribute(java.lang.String name)
public boolean inHttp()