|
||||||||||
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 with parameters of type BindException | |
---|---|
void |
DefaultBindingErrorProcessor.processMissingFieldError(String missingField,
BindException errors)
|
void |
BindingErrorProcessor.processMissingFieldError(String missingField,
BindException errors)
Apply the missing field error to the given BindException. |
void |
DefaultBindingErrorProcessor.processPropertyAccessException(PropertyAccessException ex,
BindException errors)
|
void |
BindingErrorProcessor.processPropertyAccessException(PropertyAccessException ex,
BindException errors)
Translate the given PropertyAccessException to an appropriate
error registered on the given Errors instance. |
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)
Deprecated. Bind the parameters from the given request to the given object. |
static BindException |
BindUtils.bind(ServletRequest request,
Object object,
String objectName,
BindInitializer initializer)
Deprecated. 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)
Deprecated. 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)
Deprecated. 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 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 version. |
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 showForm in case of errors,
and delegates to onSubmit 's full version else. |
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 |
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 |
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 showForm version 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. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |