程序包的使用
org.springframework.web.bind
使用org.springframework.web.bind的程序包 程序包 说明 org.springframework.web.bind Provides web-specific data binding functionality.org.springframework.web.bind.support Support classes for web data binding.org.springframework.web.method.annotation Support classes for annotation-based handler method processing.org.springframework.web.servlet.mvc.method.annotation MVC infrastructure for annotation-based handler method processing, building on theorg.springframework.web.method.annotation
package.org.springframework.web.servlet.mvc.support Support package for MVC controllers.org.springframework.web.bind使用的org.springframework.web.bind中的类 类 说明 ServletRequestBindingException Fatal binding exception, thrown when we want to treat binding exceptions as unrecoverable.WebDataBinder SpecialDataBinder
for data binding from web request parameters to JavaBean objects.org.springframework.web.bind.support使用的org.springframework.web.bind中的类 类 说明 WebDataBinder SpecialDataBinder
for data binding from web request parameters to JavaBean objects.org.springframework.web.method.annotation使用的org.springframework.web.bind中的类 类 说明 ServletRequestBindingException Fatal binding exception, thrown when we want to treat binding exceptions as unrecoverable.WebDataBinder SpecialDataBinder
for data binding from web request parameters to JavaBean objects.org.springframework.web.servlet.mvc.method.annotation使用的org.springframework.web.bind中的类 类 说明 MethodArgumentNotValidException Exception to be thrown when validation on an argument annotated with@Valid
fails.MissingPathVariableException ServletRequestBindingException
subclass that indicates that a path variable expected in the method parameters of an@RequestMapping
method is not present among the URI variables extracted from the URL.MissingServletRequestParameterException ServletRequestBindingException
subclass that indicates a missing parameter.ServletRequestBindingException Fatal binding exception, thrown when we want to treat binding exceptions as unrecoverable.ServletRequestDataBinder SpecialDataBinder
to perform data binding from servlet request parameters to JavaBeans, including support for multipart files.WebDataBinder SpecialDataBinder
for data binding from web request parameters to JavaBean objects.org.springframework.web.servlet.mvc.support使用的org.springframework.web.bind中的类 类 说明 MethodArgumentNotValidException Exception to be thrown when validation on an argument annotated with@Valid
fails.MissingPathVariableException ServletRequestBindingException
subclass that indicates that a path variable expected in the method parameters of an@RequestMapping
method is not present among the URI variables extracted from the URL.MissingServletRequestParameterException ServletRequestBindingException
subclass that indicates a missing parameter.ServletRequestBindingException Fatal binding exception, thrown when we want to treat binding exceptions as unrecoverable.