public interface FormManager
Modifier and Type | Method and Description |
---|---|
void |
destroyToken(javax.servlet.http.HttpServletRequest request,
String token)
销毁一个表单
|
String |
dumpForm(javax.servlet.http.HttpServletRequest request,
String token)
打印表单信息。
|
Form |
getForm(javax.servlet.http.HttpServletRequest request,
String formToken)
获取表单
|
boolean |
hasForm(javax.servlet.http.HttpServletRequest request,
String token)
判断表单是否存在。
|
boolean |
hasFormToken(javax.servlet.http.HttpServletRequest request)
访问参数中是否存在表单Token。
|
boolean |
isModified(javax.servlet.http.HttpServletRequest request,
String token)
检查表单参数是否发生过变化。
|
Form |
newForm(javax.servlet.http.HttpServletRequest request)
生成一个新的表单
|
Form newForm(javax.servlet.http.HttpServletRequest request)
boolean hasForm(javax.servlet.http.HttpServletRequest request, String token)
boolean hasFormToken(javax.servlet.http.HttpServletRequest request)
boolean isModified(javax.servlet.http.HttpServletRequest request, String token)
void destroyToken(javax.servlet.http.HttpServletRequest request, String token)
Form getForm(javax.servlet.http.HttpServletRequest request, String formToken)
request
- formToken
- Copyright © 2006–2018 TinyGroup. All rights reserved.