程序包的使用
org.springframework.validation
使用org.springframework.validation的程序包 程序包 说明 org.springframework.messaging.handler.annotation.reactive Support classes for working with annotated message-handling methods with non-blocking, reactive contracts.org.springframework.messaging.handler.annotation.support Support classes for working with annotated message-handling methods.org.springframework.messaging.simp.annotation.support Support classes for handling messages from simple messaging protocols (like STOMP).org.springframework.messaging.simp.config Configuration support for WebSocket messaging using higher level messaging protocols.org.springframework.test.web.reactive.server Support for testing Spring WebFlux server endpoints viaWebTestClient
.org.springframework.test.web.servlet.setup Contains built-inMockMvcBuilder
implementations.org.springframework.validation Provides data binding and validation functionality, for usage in business and/or UI layers.org.springframework.validation.beanvalidation Support classes for integrating a JSR-303 Bean Validation provider (such as Hibernate Validator) into a Spring ApplicationContext and in particular with Spring's data binding and validation APIs.org.springframework.web.bind Provides web-specific data binding functionality.org.springframework.web.bind.support Support classes for web data binding.org.springframework.web.reactive.config Spring WebFlux configuration infrastructure.org.springframework.web.reactive.result.view Support for result handling through view resolution.org.springframework.web.servlet.config.annotation Annotation-based setup for Spring MVC.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.servlet.support Support classes for Spring's web MVC framework.org.springframework.web.servlet.tags This package contains Spring's JSP standard tag library for JSP 2.0+.org.springframework.messaging.handler.annotation.reactive使用的org.springframework.validation中的类 类 说明 Validator A validator for application-specific objects.org.springframework.messaging.handler.annotation.support使用的org.springframework.validation中的类 类 说明 BindingResult General interface that represents binding results.Validator A validator for application-specific objects.org.springframework.messaging.simp.annotation.support使用的org.springframework.validation中的类 类 说明 Validator A validator for application-specific objects.org.springframework.messaging.simp.config使用的org.springframework.validation中的类 类 说明 Validator A validator for application-specific objects.org.springframework.test.web.reactive.server使用的org.springframework.validation中的类 类 说明 Validator A validator for application-specific objects.org.springframework.test.web.servlet.setup使用的org.springframework.validation中的类 类 说明 Validator A validator for application-specific objects.org.springframework.validation使用的org.springframework.validation中的类 类 说明 AbstractBindingResult Abstract implementation of theBindingResult
interface and its super-interfaceErrors
.AbstractErrors Abstract implementation of theErrors
interface.AbstractPropertyBindingResult Abstract base class forBindingResult
implementations that work with Spring'sPropertyAccessor
mechanism.BindException Thrown when binding errors are considered fatal.BindingErrorProcessor Strategy for processingDataBinder
's missing field errors, and for translating aPropertyAccessException
to aFieldError
.BindingResult General interface that represents binding results.DefaultMessageCodesResolver.Format Common message code formats.Errors Stores and exposes information about data-binding and validation errors for a specific object.FieldError Encapsulates a field error, that is, a reason for rejecting a specific field value.MessageCodeFormatter A strategy interface for formatting message codes.MessageCodesResolver Strategy interface for building message codes from validation error codes.ObjectError Encapsulates an object error, that is, a global reason for rejecting an object.Validator A validator for application-specific objects.org.springframework.validation.beanvalidation使用的org.springframework.validation中的类 类 说明 BindingResult General interface that represents binding results.Errors Stores and exposes information about data-binding and validation errors for a specific object.SmartValidator Extended variant of theValidator
interface, adding support for validation 'hints'.Validator A validator for application-specific objects.org.springframework.web.bind使用的org.springframework.validation中的类 类 说明 BindingResult General interface that represents binding results.DataBinder Binder that allows for setting property values onto a target object, including support for validation and binding result analysis.Errors Stores and exposes information about data-binding and validation errors for a specific object.FieldError Encapsulates a field error, that is, a reason for rejecting a specific field value.ObjectError Encapsulates an object error, that is, a global reason for rejecting an object.org.springframework.web.bind.support使用的org.springframework.validation中的类 类 说明 BindException Thrown when binding errors are considered fatal.BindingErrorProcessor Strategy for processingDataBinder
's missing field errors, and for translating aPropertyAccessException
to aFieldError
.BindingResult General interface that represents binding results.DataBinder Binder that allows for setting property values onto a target object, including support for validation and binding result analysis.Errors Stores and exposes information about data-binding and validation errors for a specific object.FieldError Encapsulates a field error, that is, a reason for rejecting a specific field value.MessageCodesResolver Strategy interface for building message codes from validation error codes.ObjectError Encapsulates an object error, that is, a global reason for rejecting an object.Validator A validator for application-specific objects.org.springframework.web.reactive.config使用的org.springframework.validation中的类 类 说明 MessageCodesResolver Strategy interface for building message codes from validation error codes.Validator A validator for application-specific objects.org.springframework.web.reactive.result.view使用的org.springframework.validation中的类 类 说明 Errors Stores and exposes information about data-binding and validation errors for a specific object.org.springframework.web.servlet.config.annotation使用的org.springframework.validation中的类 类 说明 MessageCodesResolver Strategy interface for building message codes from validation error codes.Validator A validator for application-specific objects.org.springframework.web.servlet.mvc.method.annotation使用的org.springframework.validation中的类 类 说明 BindException Thrown when binding errors are considered fatal.DataBinder Binder that allows for setting property values onto a target object, including support for validation and binding result analysis.org.springframework.web.servlet.mvc.support使用的org.springframework.validation中的类 类 说明 BindException Thrown when binding errors are considered fatal.DataBinder Binder that allows for setting property values onto a target object, including support for validation and binding result analysis.org.springframework.web.servlet.support使用的org.springframework.validation中的类 类 说明 Errors Stores and exposes information about data-binding and validation errors for a specific object.org.springframework.web.servlet.tags使用的org.springframework.validation中的类 类 说明 Errors Stores and exposes information about data-binding and validation errors for a specific object.