Class ExtendedServletRequestDataBinder
java.lang.Object
org.springframework.validation.DataBinder
org.springframework.web.bind.WebDataBinder
org.springframework.web.bind.ServletRequestDataBinder
org.springframework.web.servlet.support.ExtendedServletRequestDataBinder
org.springframework.web.servlet.mvc.method.annotation.ExtendedServletRequestDataBinder
- All Implemented Interfaces:
PropertyEditorRegistry, TypeConverter
@Deprecated(since="7.0.2",
forRemoval=true)
public class ExtendedServletRequestDataBinder
extends ExtendedServletRequestDataBinder
Deprecated, for removal: This API element is subject to removal in a future version.
Subclass of
ServletRequestDataBinder that adds URI template variables
to the values used for data binding.
WARNING: Data binding can lead to security issues by exposing parts of the object graph that are not meant to be accessed or modified by external clients. Therefore, the design and use of data binding should be considered carefully with regard to security. For more details, please refer to the dedicated sections on data binding for Spring Web MVC and Spring WebFlux in the reference manual.
- Since:
- 3.1
- Author:
- Rossen Stoyanchev
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class ServletRequestDataBinder
ServletRequestDataBinder.ServletRequestValueResolverNested classes/interfaces inherited from class DataBinder
DataBinder.NameResolver, DataBinder.ValueResolver -
Field Summary
Fields inherited from class WebDataBinder
DEFAULT_FIELD_DEFAULT_PREFIX, DEFAULT_FIELD_MARKER_PREFIXFields inherited from class DataBinder
DEFAULT_AUTO_GROW_COLLECTION_LIMIT, DEFAULT_OBJECT_NAME, logger -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version.Create a new instance, with default object name.ExtendedServletRequestDataBinder(@Nullable Object target, String objectName) Deprecated, for removal: This API element is subject to removal in a future version.Create a new instance. -
Method Summary
Methods inherited from class ExtendedServletRequestDataBinder
addBindValues, addHeaderPredicate, createValueResolver, setHeaderPredicateMethods inherited from class ServletRequestDataBinder
bind, closeNoCatch, construct, shouldConstructArgument, valueResolverMethods inherited from class WebDataBinder
adaptEmptyArrayIndices, bindMultipart, checkFieldDefaults, checkFieldMarkers, doBind, getEmptyValue, getEmptyValue, getFieldDefaultPrefix, getFieldMarkerPrefix, isBindEmptyMultipartFiles, resolvePrefixValue, setBindEmptyMultipartFiles, setFieldDefaultPrefix, setFieldMarkerPrefixMethods inherited from class DataBinder
addCustomFormatter, addCustomFormatter, addCustomFormatter, addValidators, applyPropertyValues, bind, checkAllowedFields, checkRequiredFields, close, construct, convertIfNecessary, convertIfNecessary, convertIfNecessary, convertIfNecessary, createBeanPropertyBindingResult, createDirectFieldBindingResult, findCustomEditor, getAllowedFields, getAutoGrowCollectionLimit, getBindingErrorProcessor, getBindingResult, getConversionService, getDisallowedFields, getInternalBindingResult, getNameResolver, getObjectName, getPropertyAccessor, getPropertyEditorRegistry, getRequiredFields, getSimpleTypeConverter, getTarget, getTargetType, getTypeConverter, getValidator, getValidators, getValidatorsToApply, initBeanPropertyAccess, initDirectFieldAccess, isAllowed, isAutoGrowNestedPaths, isDeclarativeBinding, isIgnoreInvalidFields, isIgnoreUnknownFields, registerCustomEditor, registerCustomEditor, replaceValidators, setAllowedFields, setAutoGrowCollectionLimit, setAutoGrowNestedPaths, setBindingErrorProcessor, setConversionService, setDeclarativeBinding, setDisallowedFields, setExcludedValidators, setIgnoreInvalidFields, setIgnoreUnknownFields, setMessageCodesResolver, setNameResolver, setRequiredFields, setTargetType, setValidator, shouldNotBindPropertyValues, validate, validate
-
Constructor Details
-
ExtendedServletRequestDataBinder
Deprecated, for removal: This API element is subject to removal in a future version.Create a new instance, with default object name.- Parameters:
target- the target object to bind onto (ornullif the binder is just used to convert a plain parameter value)- See Also:
-
ExtendedServletRequestDataBinder
Deprecated, for removal: This API element is subject to removal in a future version.Create a new instance.- Parameters:
target- the target object to bind onto (ornullif the binder is just used to convert a plain parameter value)objectName- the name of the target object- See Also:
-
ExtendedServletRequestDataBinder