Package | Description |
---|---|
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.
|
org.springframework.web.bind.support |
Support classes for web data binding.
|
Modifier and Type | Method and Description |
---|---|
FieldError |
Errors.getFieldError()
Get the first error associated with a field, if any.
|
FieldError |
AbstractBindingResult.getFieldError() |
FieldError |
AbstractErrors.getFieldError() |
FieldError |
BindException.getFieldError() |
FieldError |
Errors.getFieldError(String field)
Get the first error associated with the given field, if any.
|
FieldError |
AbstractBindingResult.getFieldError(String field) |
FieldError |
AbstractErrors.getFieldError(String field) |
FieldError |
BindException.getFieldError(String field) |
Modifier and Type | Method and Description |
---|---|
List<FieldError> |
Errors.getFieldErrors()
Get all errors associated with a field.
|
List<FieldError> |
AbstractBindingResult.getFieldErrors() |
List<FieldError> |
BindException.getFieldErrors() |
List<FieldError> |
Errors.getFieldErrors(String field)
Get all errors associated with the given field.
|
List<FieldError> |
AbstractBindingResult.getFieldErrors(String field) |
List<FieldError> |
AbstractErrors.getFieldErrors(String field) |
List<FieldError> |
BindException.getFieldErrors(String field) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
AbstractErrors.isMatchingFieldError(String field,
FieldError fieldError)
Check whether the given FieldError matches the given field.
|
Modifier and Type | Method and Description |
---|---|
FieldError |
EscapedErrors.getFieldError() |
FieldError |
EscapedErrors.getFieldError(String field) |
Modifier and Type | Method and Description |
---|---|
List<FieldError> |
EscapedErrors.getFieldErrors() |
List<FieldError> |
EscapedErrors.getFieldErrors(String field) |
Modifier and Type | Method and Description |
---|---|
FieldError |
WebExchangeBindException.getFieldError() |
FieldError |
WebExchangeBindException.getFieldError(String field) |
Modifier and Type | Method and Description |
---|---|
List<FieldError> |
WebExchangeBindException.getFieldErrors() |
List<FieldError> |
WebExchangeBindException.getFieldErrors(String field) |