mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-17 08:24:13 +00:00
Merge branch '7.0.x'
This commit is contained in:
+10
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user