public class ConfirmUserController
extends org.springframework.web.servlet.mvc.AbstractWizardFormController
| Modifier and Type | Field and Description |
|---|---|
static String |
PARAM_SECURITY_CODE
the parameter key for the code.
|
PARAM_CANCEL, PARAM_FINISH, PARAM_PAGE, PARAM_TARGETDEFAULT_COMMAND_NAME| Constructor and Description |
|---|
ConfirmUserController() |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
formBackingObject(javax.servlet.http.HttpServletRequest request) |
String |
getCancelView()
Gets the cancel view.
|
String |
getErrorView()
Gets the error view.
|
String |
getFinishView()
Gets the finish view.
|
protected String |
getViewName(javax.servlet.http.HttpServletRequest request,
Object command,
int page) |
protected org.springframework.web.servlet.ModelAndView |
handleRequestInternal(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
protected void |
postProcessPage(javax.servlet.http.HttpServletRequest request,
Object command,
org.springframework.validation.Errors errors,
int page) |
protected org.springframework.web.servlet.ModelAndView |
processCancel(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Object command,
org.springframework.validation.BindException errors) |
protected org.springframework.web.servlet.ModelAndView |
processFinish(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Object command,
org.springframework.validation.BindException errors) |
void |
setCancelView(String cancelView)
Sets the cancel view.
|
void |
setErrorView(String errorView)
Sets the error view.
|
void |
setFinishView(String finishView)
Sets the finish view.
|
protected void |
validatePage(Object command,
org.springframework.validation.Errors errors,
int page,
boolean finish) |
getCurrentPage, getInitialPage, getInitialPage, getPageAttribute, getPageCount, getPageCount, getPages, getPageSessionAttributeName, getPageSessionAttributeName, getTargetPage, getTargetPage, handleInvalidSubmit, isAllowDirtyBack, isAllowDirtyForward, isCancelRequest, isFinishRequest, isFormSubmission, onBindAndValidate, onBindAndValidate, processFormSubmission, referenceData, referenceData, referenceData, setAllowDirtyBack, setAllowDirtyForward, setPageAttribute, setPages, showForm, showPage, validatePagecurrentFormObject, getCommand, getErrorsForNewForm, getFormSessionAttributeName, getFormSessionAttributeName, isBindOnNewForm, isSessionForm, onBindOnNewForm, onBindOnNewForm, setBindOnNewForm, setSessionForm, showForm, showForm, showNewFormbindAndValidate, checkCommand, createBinder, createCommand, getBindingErrorProcessor, getCommandClass, getCommandName, getMessageCodesResolver, getPropertyEditorRegistrars, getValidator, getValidators, getWebBindingInitializer, initApplicationContext, initBinder, isValidateOnBinding, onBind, onBind, prepareBinder, setBindingErrorProcessor, setCommandClass, setCommandName, setMessageCodesResolver, setPropertyEditorRegistrar, setPropertyEditorRegistrars, setValidateOnBinding, setValidator, setValidators, setWebBindingInitializer, suppressBinding, suppressValidation, suppressValidation, suppressValidation, useDirectFieldAccesshandleRequest, isSynchronizeOnSession, setSynchronizeOnSessionapplyCacheSeconds, applyCacheSeconds, cacheForSeconds, cacheForSeconds, checkAndPrepare, checkAndPrepare, getCacheSeconds, getSupportedMethods, isAlwaysMustRevalidate, isRequireSession, isUseCacheControlHeader, isUseCacheControlNoStore, isUseExpiresHeader, preventCaching, setAlwaysMustRevalidate, setCacheSeconds, setRequireSession, setSupportedMethods, setUseCacheControlHeader, setUseCacheControlNoStore, setUseExpiresHeadergetServletContext, getTempDir, getWebApplicationContext, initApplicationContext, initServletContext, isContextRequired, setServletContextpublic static final String PARAM_SECURITY_CODE
protected Object formBackingObject(javax.servlet.http.HttpServletRequest request) throws Exception
formBackingObject in class org.springframework.web.servlet.mvc.AbstractFormControllerExceptionAbstractFormController.formBackingObject(javax.servlet.http.HttpServletRequest)public String getCancelView()
public String getErrorView()
public String getFinishView()
protected String getViewName(javax.servlet.http.HttpServletRequest request, Object command, int page)
getViewName in class org.springframework.web.servlet.mvc.AbstractWizardFormControllerorg.springframework.web.servlet.mvc.AbstractWizardFormController#getViewName(javax.servlet
.http.HttpServletRequest, Object, int)protected org.springframework.web.servlet.ModelAndView handleRequestInternal(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws Exception
handleRequestInternal in class org.springframework.web.servlet.mvc.AbstractFormControllerExceptionorg.springframework.web.servlet.mvc.AbstractFormController#handleRequestInternal(javax.servlet
.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)protected void postProcessPage(javax.servlet.http.HttpServletRequest request,
Object command,
org.springframework.validation.Errors errors,
int page)
throws Exception
postProcessPage in class org.springframework.web.servlet.mvc.AbstractWizardFormControllerExceptionorg.springframework.web.servlet.mvc.AbstractWizardFormController#postProcessPage(javax.servlet
.http.HttpServletRequest, Object, org.springframework.validation.Errors, int)protected org.springframework.web.servlet.ModelAndView processCancel(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Object command,
org.springframework.validation.BindException errors)
throws Exception
processCancel in class org.springframework.web.servlet.mvc.AbstractWizardFormControllerExceptionorg.springframework.web.servlet.mvc.AbstractWizardFormController#processCancel(javax.servlet
.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, Object,
org.springframework.validation.BindException)protected org.springframework.web.servlet.ModelAndView processFinish(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Object command,
org.springframework.validation.BindException errors)
throws Exception
processFinish in class org.springframework.web.servlet.mvc.AbstractWizardFormControllerExceptionorg.springframework.web.servlet.mvc.AbstractWizardFormController#processFinish(javax.servlet
.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, Object,
org.springframework.validation.BindException)public void setCancelView(String cancelView)
cancelView - the new cancel viewpublic void setErrorView(String errorView)
errorView - the new error viewpublic void setFinishView(String finishView)
finishView - the new finish viewprotected void validatePage(Object command, org.springframework.validation.Errors errors, int page, boolean finish)
validatePage in class org.springframework.web.servlet.mvc.AbstractWizardFormControllerAbstractWizardFormController.validatePage(Object ,
org.springframework.validation.Errors, int, boolean)Copyright © 2019 Communote team. All rights reserved.