Package | Description |
---|---|
org.springframework.beans |
This package contains interfaces and classes for manipulating Java beans.
|
org.springframework.validation |
Provides data binding and validation functionality,
for usage in business and/or UI layers.
|
org.springframework.web.servlet.mvc.method.annotation |
MVC infrastructure for annotation-based handler method processing, building on the
org.springframework.web.method.annotation package. |
org.springframework.web.servlet.mvc.support |
Support package for MVC controllers.
|
Modifier and Type | Class and Description |
---|---|
class |
ConversionNotSupportedException
Exception thrown when no suitable editor or converter can be found for a bean property.
|
Modifier and Type | Method and Description |
---|---|
Object |
BeanWrapperImpl.convertForProperty(Object value,
String propertyName)
Convert the given value for the specified property to the latter's type.
|
<T> T |
TypeConverter.convertIfNecessary(Object value,
Class<T> requiredType)
Convert the value to the required type (if necessary from a String).
|
<T> T |
TypeConverterSupport.convertIfNecessary(Object value,
Class<T> requiredType) |
<T> T |
TypeConverter.convertIfNecessary(Object value,
Class<T> requiredType,
Field field)
Convert the value to the required type (if necessary from a String).
|
<T> T |
TypeConverterSupport.convertIfNecessary(Object value,
Class<T> requiredType,
Field field) |
<T> T |
TypeConverter.convertIfNecessary(Object value,
Class<T> requiredType,
MethodParameter methodParam)
Convert the value to the required type (if necessary from a String).
|
<T> T |
TypeConverterSupport.convertIfNecessary(Object value,
Class<T> requiredType,
MethodParameter methodParam) |
Modifier and Type | Method and Description |
---|---|
<T> T |
DataBinder.convertIfNecessary(Object value,
Class<T> requiredType) |
<T> T |
DataBinder.convertIfNecessary(Object value,
Class<T> requiredType,
Field field) |
<T> T |
DataBinder.convertIfNecessary(Object value,
Class<T> requiredType,
MethodParameter methodParam) |
Modifier and Type | Method and Description |
---|---|
protected ResponseEntity<Object> |
ResponseEntityExceptionHandler.handleTypeMismatch(TypeMismatchException ex,
HttpHeaders headers,
HttpStatus status,
WebRequest request)
Customize the response for TypeMismatchException.
|
Modifier and Type | Method and Description |
---|---|
protected ModelAndView |
DefaultHandlerExceptionResolver.handleTypeMismatch(TypeMismatchException ex,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Object handler)
Handle the case when a
WebDataBinder conversion error occurs. |
Copyright © 2015. All rights reserved.