|
The Spring Framework | |||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use BindException | |
---|---|
org.springframework.validation | Provides data binding and validation functionality, for usage in business and/or UI layers. |
org.springframework.web.portlet.mvc | Standard controller implementations for the portlet MVC framework that comes with Spring. |
org.springframework.web.servlet.mvc | Standard controller implementations for the servlet MVC framework that comes with Spring. |
Uses of BindException in org.springframework.validation |
---|
Methods in org.springframework.validation that return BindException | |
---|---|
BindException |
DataBinder.getErrors()
Deprecated. in favor of DataBinder.getBindingResult() .
Use the BindException(BindingResult) constructor
to create a BindException instance if still needed. |
Methods in org.springframework.validation that throw BindException | |
---|---|
Map |
DataBinder.close()
Close this DataBinder, which may result in throwing a BindException if it encountered any errors. |
Uses of BindException in org.springframework.web.portlet.mvc |
---|
Methods in org.springframework.web.portlet.mvc that return BindException | |
---|---|
protected BindException |
AbstractFormController.getErrorsForNewForm(RenderRequest request)
Create a BindException instance for a new form. |
protected BindException |
BaseCommandController.getRenderErrors(RenderRequest request)
Get the bind and validation errors cached for the render phase. |
Methods in org.springframework.web.portlet.mvc with parameters of type BindException | |
---|---|
protected abstract void |
AbstractCommandController.handleAction(ActionRequest request,
ActionResponse response,
Object command,
BindException errors)
Template method for request handling, providing a populated and validated instance of the command class, and an Errors object containing binding and validation errors. |
protected abstract ModelAndView |
AbstractCommandController.handleRender(RenderRequest request,
RenderResponse response,
Object command,
BindException errors)
Template method for render request handling, providing a populated and validated instance of the command class, and an Errors object containing binding and validation errors. |
protected void |
BaseCommandController.onBind(PortletRequest request,
Object command,
BindException errors)
Callback for custom post-processing in terms of binding. |
protected void |
BaseCommandController.onBindAndValidate(PortletRequest request,
Object command,
BindException errors)
Callback for custom post-processing in terms of binding and validation. |
protected void |
AbstractWizardFormController.onBindAndValidate(PortletRequest request,
Object command,
BindException errors)
Calls page-specific onBindAndValidate method. |
protected void |
AbstractWizardFormController.onBindAndValidate(PortletRequest request,
Object command,
BindException errors,
int page)
Callback for custom post-processing in terms of binding and validation. |
protected void |
AbstractFormController.onBindOnNewForm(RenderRequest request,
Object command,
BindException errors)
Callback for custom post-processing in terms of binding for a new form. |
protected void |
SimpleFormController.onFormChange(ActionRequest request,
ActionResponse response,
Object command,
BindException errors)
Called during form submission if SimpleFormController.isFormChangeRequest(PortletRequest)
returns true . |
protected void |
SimpleFormController.onSubmitAction(ActionRequest request,
ActionResponse response,
Object command,
BindException errors)
Submit action phase callback with all parameters. |
protected void |
SimpleFormController.onSubmitAction(Object command,
BindException errors)
Simpler onSubmitAction version. |
protected ModelAndView |
SimpleFormController.onSubmitRender(Object command,
BindException errors)
Simpler onSubmitRender version. |
protected ModelAndView |
SimpleFormController.onSubmitRender(RenderRequest request,
RenderResponse response,
Object command,
BindException errors)
Submit render phase callback with all parameters. |
protected void |
AbstractWizardFormController.processCancel(ActionRequest request,
ActionResponse response,
Object command,
BindException errors)
Template method for the action phase of the cancel action of this wizard. |
protected void |
AbstractWizardFormController.processFinish(ActionRequest request,
ActionResponse response,
Object command,
BindException errors)
Template method for the action phase of the finish action of this wizard. |
protected void |
SimpleFormController.processFormSubmission(ActionRequest request,
ActionResponse response,
Object command,
BindException errors)
This implementation does nothing in case of errors, and delegates to onSubmitAction 's full version else. |
protected void |
AbstractWizardFormController.processFormSubmission(ActionRequest request,
ActionResponse response,
Object command,
BindException errors)
Apply wizard workflow: finish, cancel, page change. |
protected abstract void |
AbstractFormController.processFormSubmission(ActionRequest request,
ActionResponse response,
Object command,
BindException errors)
Process action phase of form submission request. |
protected ModelAndView |
AbstractWizardFormController.renderCancel(RenderRequest request,
RenderResponse response,
Object command,
BindException errors)
Template method for the render phase of the cancel action of this wizard. |
protected ModelAndView |
AbstractWizardFormController.renderFinish(RenderRequest request,
RenderResponse response,
Object command,
BindException errors)
Template method for the render phase of the finish action of this wizard. |
protected ModelAndView |
SimpleFormController.renderFormSubmission(RenderRequest request,
RenderResponse response,
Object command,
BindException errors)
This implementation calls showForm in case of errors,
and delegates to onSubmitRender |
protected ModelAndView |
AbstractWizardFormController.renderFormSubmission(RenderRequest request,
RenderResponse response,
Object command,
BindException errors)
Apply wizard workflow: finish, cancel, page change. |
protected abstract ModelAndView |
AbstractFormController.renderFormSubmission(RenderRequest request,
RenderResponse response,
Object command,
BindException errors)
Process render phase of form submission request. |
protected void |
BaseCommandController.setRenderCommandAndErrors(ActionRequest request,
Object command,
BindException errors)
Set the command object and errors object for the render phase. |
protected ModelAndView |
AbstractFormController.showForm(RenderRequest request,
BindException errors,
String viewName)
Prepare model and view for the given form, including reference and errors. |
protected ModelAndView |
AbstractFormController.showForm(RenderRequest request,
BindException errors,
String viewName,
Map controlModel)
Prepare model and view for the given form, including reference and errors, adding a controller-specific control model. |
protected ModelAndView |
SimpleFormController.showForm(RenderRequest request,
RenderResponse response,
BindException errors)
This implementation shows the configured form view, delegating to the analogous showForm version with a controlModel argument. |
protected ModelAndView |
AbstractWizardFormController.showForm(RenderRequest request,
RenderResponse response,
BindException errors)
Show first page as form view. |
protected abstract ModelAndView |
AbstractFormController.showForm(RenderRequest request,
RenderResponse response,
BindException errors)
Prepare the form model and view, including reference and error data. |
protected ModelAndView |
SimpleFormController.showForm(RenderRequest request,
RenderResponse response,
BindException errors,
Map controlModel)
This implementation shows the configured form view. |
protected ModelAndView |
AbstractWizardFormController.showPage(RenderRequest request,
BindException errors,
int page)
Prepare the form model and view, including reference and error data, for the given page. |
Uses of BindException in org.springframework.web.servlet.mvc |
---|
Methods in org.springframework.web.servlet.mvc that return BindException | |
---|---|
protected BindException |
AbstractFormController.getErrorsForNewForm(HttpServletRequest request)
Create a BindException instance for a new form. |
Methods in org.springframework.web.servlet.mvc with parameters of type BindException | |
---|---|
protected abstract ModelAndView |
AbstractCommandController.handle(HttpServletRequest request,
HttpServletResponse response,
Object command,
BindException errors)
Template method for request handling, providing a populated and validated instance of the command class, and an Errors object containing binding and validation errors. |
protected void |
BaseCommandController.onBind(HttpServletRequest request,
Object command,
BindException errors)
Callback for custom post-processing in terms of binding. |
protected void |
BaseCommandController.onBindAndValidate(HttpServletRequest request,
Object command,
BindException errors)
Callback for custom post-processing in terms of binding and validation. |
protected void |
AbstractWizardFormController.onBindAndValidate(HttpServletRequest request,
Object command,
BindException errors)
Calls page-specific onBindAndValidate method. |
protected void |
AbstractWizardFormController.onBindAndValidate(HttpServletRequest request,
Object command,
BindException errors,
int page)
Callback for custom post-processing in terms of binding and validation. |
protected void |
AbstractFormController.onBindOnNewForm(HttpServletRequest request,
Object command,
BindException errors)
Callback for custom post-processing in terms of binding for a new form. |
protected void |
SimpleFormController.onFormChange(HttpServletRequest request,
HttpServletResponse response,
Object command,
BindException errors)
Called during form submission if SimpleFormController.isFormChangeRequest(javax.servlet.http.HttpServletRequest)
returns true . |
protected ModelAndView |
SimpleFormController.onSubmit(HttpServletRequest request,
HttpServletResponse response,
Object command,
BindException errors)
Submit callback with all parameters. |
protected ModelAndView |
SimpleFormController.onSubmit(Object command,
BindException errors)
Simpler onSubmit variant. |
protected ModelAndView |
AbstractWizardFormController.processCancel(HttpServletRequest request,
HttpServletResponse response,
Object command,
BindException errors)
Template method for processing the cancel action of this wizard. |
protected abstract ModelAndView |
AbstractWizardFormController.processFinish(HttpServletRequest request,
HttpServletResponse response,
Object command,
BindException errors)
Template method for processing the final action of this wizard. |
protected ModelAndView |
SimpleFormController.processFormSubmission(HttpServletRequest request,
HttpServletResponse response,
Object command,
BindException errors)
This implementation calls SimpleFormController.showForm(HttpServletRequest, HttpServletResponse, BindException)
in case of errors, and delegates to the full
SimpleFormController.onSubmit(HttpServletRequest, HttpServletResponse, Object, BindException) 's
variant else. |
protected ModelAndView |
AbstractWizardFormController.processFormSubmission(HttpServletRequest request,
HttpServletResponse response,
Object command,
BindException errors)
Apply wizard workflow: finish, cancel, page change. |
protected abstract ModelAndView |
AbstractFormController.processFormSubmission(HttpServletRequest request,
HttpServletResponse response,
Object command,
BindException errors)
Process form submission request. |
protected ModelAndView |
CancellableFormController.processFormSubmission(HttpServletRequest request,
HttpServletResponse response,
Object command,
BindException errors)
This implementation first checks to see if the incoming is a cancel request, through a call to CancellableFormController.isCancelRequest(javax.servlet.http.HttpServletRequest) . |
protected ModelAndView |
AbstractFormController.showForm(HttpServletRequest request,
BindException errors,
String viewName)
Prepare model and view for the given form, including reference and errors. |
protected ModelAndView |
AbstractFormController.showForm(HttpServletRequest request,
BindException errors,
String viewName,
Map controlModel)
Prepare model and view for the given form, including reference and errors, adding a controller-specific control model. |
protected ModelAndView |
SimpleFormController.showForm(HttpServletRequest request,
HttpServletResponse response,
BindException errors)
This implementation shows the configured form view, delegating to the analogous SimpleFormController.showForm(HttpServletRequest, HttpServletResponse, BindException, Map)
variant with a "controlModel" argument. |
protected ModelAndView |
AbstractWizardFormController.showForm(HttpServletRequest request,
HttpServletResponse response,
BindException errors)
Show first page as form view. |
protected abstract ModelAndView |
AbstractFormController.showForm(HttpServletRequest request,
HttpServletResponse response,
BindException errors)
Prepare the form model and view, including reference and error data. |
protected ModelAndView |
SimpleFormController.showForm(HttpServletRequest request,
HttpServletResponse response,
BindException errors,
Map controlModel)
This implementation shows the configured form view. |
protected ModelAndView |
AbstractWizardFormController.showPage(HttpServletRequest request,
BindException errors,
int page)
Prepare the form model and view, including reference and error data, for the given page. |
protected boolean |
BaseCommandController.suppressValidation(HttpServletRequest request,
Object command,
BindException errors)
Return whether to suppress validation for the given request. |
|
The Spring Framework | |||||||||
PREV NEXT | FRAMES NO FRAMES |