Class WebExchangeDataBinder

All Implemented Interfaces:
PropertyEditorRegistry, TypeConverter

public class WebExchangeDataBinder extends WebDataBinder
Specialized DataBinder to perform data binding from URL query parameters or form data in the request data to Java objects.

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:
5.0
Author:
Rossen Stoyanchev, Juergen Hoeller
  • Constructor Details

    • WebExchangeDataBinder

      public WebExchangeDataBinder(@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:
    • WebExchangeDataBinder

      public WebExchangeDataBinder(@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
  • Method Details