Merge branch '7.0.x'

This commit is contained in:
rstoyanchev
2026-09-02 10:00:49 +01:00
15 changed files with 46 additions and 26 deletions
@@ -190,6 +190,10 @@ public interface ServerRequest {
/**
* Bind to this request and return an instance of the given type.
* <p>Please read the security warning om
* {@link org.springframework.validation.DataBinder} and review the guidance
* on model object design in the Data Binding section for Spring WebFlux in
* the reference documentation.
* @param bindType the type of class to bind this request to
* @param <T> the type to bind to
* @return a mono containing either a constructed and bound instance of
@@ -202,9 +206,13 @@ public interface ServerRequest {
/**
* Bind to this request and return an instance of the given type.
* <p>Please read the security warning om
* {@link org.springframework.validation.DataBinder} and review the guidance
* on model object design in the Data Binding section for Spring WebFlux in
* the reference documentation.
* @param bindType the type of class to bind this request to
* @param dataBinderCustomizer used to customize the data binder, for example, set
* (dis)allowed fields
* @param dataBinderCustomizer used to customize the data binder, for example,
* set allowed fields if using property (instead of constructor) binding.
* @param <T> the type to bind to
* @return a mono containing either a constructed and bound instance of
* {@code bindType}, or a {@link BindException} in case of binding errors