Package | Description |
---|---|
javax.mvc.binding |
Types related to the handling of data binding and validation.
|
Modifier and Type | Interface and Description |
---|---|
interface |
BindingError
Represents a single error that occurred while binding a parameter to a controller
method argument or controller field using a binding annotation like
FormParam . |
interface |
ValidationError
Represents a single validation error detected for a parameter.
|
Modifier and Type | Method and Description |
---|---|
Set<ParamError> |
BindingResult.getAllErrors()
Returns an immutable set of all binding and validation errors.
|
Set<ParamError> |
BindingResult.getErrors(String param)
Returns an immutable set of all binding and validation errors for
a specific parameter.
|
Copyright © 2018 Ivar Grimstad. All rights reserved.