接口的使用
org.springframework.validation.BindingErrorProcessor
使用BindingErrorProcessor的程序包 程序包 说明 org.springframework.validation Provides data binding and validation functionality, for usage in business and/or UI layers.org.springframework.web.bind.support Support classes for web data binding.org.springframework.validation中BindingErrorProcessor的使用
实现BindingErrorProcessor的org.springframework.validation中的类 修饰符和类型 类 说明 class
DefaultBindingErrorProcessor
DefaultBindingErrorProcessor
implementation.返回BindingErrorProcessor的org.springframework.validation中的方法 修饰符和类型 方法 说明 BindingErrorProcessor
DataBinder. getBindingErrorProcessor()
Return the strategy for processing binding errors.参数类型为BindingErrorProcessor的org.springframework.validation中的方法 修饰符和类型 方法 说明 void
DataBinder. setBindingErrorProcessor(BindingErrorProcessor bindingErrorProcessor)
Set the strategy to use for processing binding errors, that is, required field errors andPropertyAccessException
s.org.springframework.web.bind.support中BindingErrorProcessor的使用
返回BindingErrorProcessor的org.springframework.web.bind.support中的方法 修饰符和类型 方法 说明 BindingErrorProcessor
ConfigurableWebBindingInitializer. getBindingErrorProcessor()
Return the strategy to use for processing binding errors.参数类型为BindingErrorProcessor的org.springframework.web.bind.support中的方法 修饰符和类型 方法 说明 void
ConfigurableWebBindingInitializer. setBindingErrorProcessor(BindingErrorProcessor bindingErrorProcessor)
Set the strategy to use for processing binding errors, that is, required field errors andPropertyAccessException
s.