Class ExtendedServletRequestDataBinder
java.lang.Object
org.springframework.validation.DataBinder
org.springframework.web.bind.WebDataBinder
org.springframework.web.bind.ServletRequestDataBinder
org.springframework.web.servlet.mvc.method.annotation.ExtendedServletRequestDataBinder
- All Implemented Interfaces:
- PropertyEditorRegistry,- TypeConverter
Subclass of 
ServletRequestDataBinder that adds URI template variables
 to the values used for data binding.- Since:
- 3.1
- Author:
- Rossen Stoyanchev
- See Also:
- 
Field SummaryFields inherited from class org.springframework.web.bind.WebDataBinderDEFAULT_FIELD_DEFAULT_PREFIX, DEFAULT_FIELD_MARKER_PREFIXFields inherited from class org.springframework.validation.DataBinderDEFAULT_AUTO_GROW_COLLECTION_LIMIT, DEFAULT_OBJECT_NAME, logger
- 
Constructor SummaryConstructorsConstructorDescriptionCreate a new instance, with default object name.ExtendedServletRequestDataBinder(Object target, String objectName) Create a new instance.
- 
Method SummaryModifier and TypeMethodDescriptionprotected voidaddBindValues(MutablePropertyValues mpvs, ServletRequest request) Merge URI variables into the property values to use for data binding.Methods inherited from class org.springframework.web.bind.ServletRequestDataBinderbind, closeNoCatchMethods inherited from class org.springframework.web.bind.WebDataBinderadaptEmptyArrayIndices, bindMultipart, checkFieldDefaults, checkFieldMarkers, doBind, getEmptyValue, getEmptyValue, getFieldDefaultPrefix, getFieldMarkerPrefix, isBindEmptyMultipartFiles, setBindEmptyMultipartFiles, setFieldDefaultPrefix, setFieldMarkerPrefixMethods inherited from class org.springframework.validation.DataBinderaddCustomFormatter, addCustomFormatter, addCustomFormatter, addValidators, applyPropertyValues, bind, checkAllowedFields, checkRequiredFields, close, convertIfNecessary, convertIfNecessary, convertIfNecessary, convertIfNecessary, createBeanPropertyBindingResult, createDirectFieldBindingResult, findCustomEditor, getAllowedFields, getAutoGrowCollectionLimit, getBindingErrorProcessor, getBindingResult, getConversionService, getDisallowedFields, getInternalBindingResult, getObjectName, getPropertyAccessor, getPropertyEditorRegistry, getRequiredFields, getSimpleTypeConverter, getTarget, getTypeConverter, getValidator, getValidators, initBeanPropertyAccess, initDirectFieldAccess, isAllowed, isAutoGrowNestedPaths, isIgnoreInvalidFields, isIgnoreUnknownFields, registerCustomEditor, registerCustomEditor, replaceValidators, setAllowedFields, setAutoGrowCollectionLimit, setAutoGrowNestedPaths, setBindingErrorProcessor, setConversionService, setDisallowedFields, setIgnoreInvalidFields, setIgnoreUnknownFields, setMessageCodesResolver, setRequiredFields, setValidator, validate, validate
- 
Constructor Details- 
ExtendedServletRequestDataBinderCreate a new instance, with default object name.- Parameters:
- target- the target object to bind onto (or- nullif the binder is just used to convert a plain parameter value)
- See Also:
 
- 
ExtendedServletRequestDataBinderCreate a new instance.- Parameters:
- target- the target object to bind onto (or- nullif the binder is just used to convert a plain parameter value)
- objectName- the name of the target object
- See Also:
 
 
- 
- 
Method Details- 
addBindValuesMerge URI variables into the property values to use for data binding.- Overrides:
- addBindValuesin class- ServletRequestDataBinder
- Parameters:
- mpvs- the property values that will be used for data binding
- request- the current request
 
 
-