Class ExtendedServletRequestDataBinder

All Implemented Interfaces:
PropertyEditorRegistry, TypeConverter

public class ExtendedServletRequestDataBinder extends ServletRequestDataBinder
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:
  • Constructor Details

    • ExtendedServletRequestDataBinder

      public ExtendedServletRequestDataBinder(@Nullable Object target)
      Create a new instance, with default object name.
      Parameters:
      target - the target object to bind onto (or null if the binder is just used to convert a plain parameter value)
      See Also:
    • ExtendedServletRequestDataBinder

      public ExtendedServletRequestDataBinder(@Nullable Object target, String objectName)
      Create a new instance.
      Parameters:
      target - the target object to bind onto (or null if the binder is just used to convert a plain parameter value)
      objectName - the name of the target object
      See Also:
  • Method Details