|
|||||||||||
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.bind | Provides web-specific data binding functionality, including a utility class for easy invocation of binding and validation. |
org.springframework.web.servlet.mvc | Standard controller implementations for the MVC framework that comes with Spring. |
Uses of BindException in org.springframework.validation |
Methods in org.springframework.validation that return BindException | |
protected BindException |
DataBinder.createErrors(Object target,
String objectName)
Create a new Errors instance for this data binder. |
BindException |
DataBinder.getErrors()
Return the Errors instance for this data binder. |
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.bind |
Methods in org.springframework.web.bind that return BindException | |
static BindException |
BindUtils.bind(ServletRequest request,
Object object,
String objectName)
Bind the parameters from the given request to the given object. |
static BindException |
BindUtils.bind(ServletRequest request,
Object object,
String objectName,
BindInitializer initializer)
Bind the parameters from the given request to the given object, allowing for optional custom editors set in an bind initializer. |
static BindException |
BindUtils.bindAndValidate(ServletRequest request,
Object object,
String objectName,
Validator validator)
Bind the parameters from the given request to the given object, invoking the given validator. |
static BindException |
BindUtils.bindAndValidate(ServletRequest request,
Object object,
String objectName,
Validator validator,
BindInitializer initializer)
Bind the parameters from the given request to the given object, invoking the given validator, and allowing for optional custom editors set in an bind initializer. |
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 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 ModelAndView |
AbstractWizardFormController.showForm(HttpServletRequest request,
HttpServletResponse response,
BindException errors)
Show first page as 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 ModelAndView |
AbstractWizardFormController.processFormSubmission(HttpServletRequest request,
HttpServletResponse response,
Object command,
BindException errors)
Apply wizard workflow: finish, cancel, page change. |
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 |
AbstractWizardFormController.processCancel(HttpServletRequest request,
HttpServletResponse response,
Object command,
BindException errors)
Template method for processing the cancel action of this wizard. |
protected abstract ModelAndView |
AbstractFormController.showForm(HttpServletRequest request,
HttpServletResponse response,
BindException errors)
Prepare the form model and view, including reference and error data. |
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 abstract ModelAndView |
AbstractFormController.processFormSubmission(HttpServletRequest request,
HttpServletResponse response,
Object command,
BindException errors)
Process form submission request. |
protected ModelAndView |
SimpleFormController.showForm(HttpServletRequest request,
HttpServletResponse response,
BindException errors)
This implementation shows the configured form view. |
protected ModelAndView |
SimpleFormController.processFormSubmission(HttpServletRequest request,
HttpServletResponse response,
Object command,
BindException errors)
This implementation calls showForm in case of errors, and delegates to onSubmit's full version else. |
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 version. |
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 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. |
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |