@ -78,7 +78,7 @@ public abstract class BodyInserters {
@@ -78,7 +78,7 @@ public abstract class BodyInserters {
/ * *
* Inserter to write the given object .
* < p > Alternatively , consider using the { @code body ( Object ) } shortcuts on
* < p > Alternatively , consider using the { @code bodyValue ( Object ) } shortcuts on
* { @link org . springframework . web . reactive . function . client . WebClient WebClient } and
* { @link org . springframework . web . reactive . function . server . ServerResponse ServerResponse } .
* @param body the body to write to the response
@ -227,7 +227,7 @@ public abstract class BodyInserters {
@@ -227,7 +227,7 @@ public abstract class BodyInserters {
* Return a { @link FormInserter } to write the given { @code MultiValueMap }
* as URL - encoded form data . The returned inserter allows for additional
* entries to be added via { @link FormInserter # with ( String , Object ) } .
* < p > Note that you can also use the { @code body ( Object ) } method in the
* < p > Note that you can also use the { @code bodyValue ( Object ) } method in the
* request builders of both the { @code WebClient } and { @code WebTestClient } .
* In that case the setting of the request content type is also not required ,
* just be sure the map contains String values only or otherwise it would be
@ -259,7 +259,7 @@ public abstract class BodyInserters {
@@ -259,7 +259,7 @@ public abstract class BodyInserters {
* Object or an { @link HttpEntity } .
* < p > Note that you can also build the multipart data externally with
* { @link MultipartBodyBuilder } , and pass the resulting map directly to the
* { @code body ( Object ) } shortcut method in { @code WebClient } .
* { @code bodyValue ( Object ) } shortcut method in { @code WebClient } .
* @param multipartData the form data to write to the output message
* @return the inserter that allows adding more parts
* @see MultipartBodyBuilder
@ -275,7 +275,7 @@ public abstract class BodyInserters {
@@ -275,7 +275,7 @@ public abstract class BodyInserters {
* { @link HttpEntity } .
* < p > Note that you can also build the multipart data externally with
* { @link MultipartBodyBuilder } , and pass the resulting map directly to the
* { @code body ( Object ) } shortcut method in { @code WebClient } .
* { @code bodyValue ( Object ) } shortcut method in { @code WebClient } .
* @param name the part name
* @param value the part value , an Object or { @code HttpEntity }
* @return the inserter that allows adding more parts
@ -291,7 +291,7 @@ public abstract class BodyInserters {
@@ -291,7 +291,7 @@ public abstract class BodyInserters {
* as multipart data .
* < p > Note that you can also build the multipart data externally with
* { @link MultipartBodyBuilder } , and pass the resulting map directly to the
* { @code body ( Object ) } shortcut method in { @code WebClient } .
* { @code bodyValue ( Object ) } shortcut method in { @code WebClient } .
* @param name the part name
* @param publisher the publisher that forms the part value
* @param elementClass the class contained in the { @code publisher }
@ -309,7 +309,7 @@ public abstract class BodyInserters {
@@ -309,7 +309,7 @@ public abstract class BodyInserters {
* allows specifying generic type information .
* < p > Note that you can also build the multipart data externally with
* { @link MultipartBodyBuilder } , and pass the resulting map directly to the
* { @code body ( Object ) } shortcut method in { @code WebClient } .
* { @code bodyValue ( Object ) } shortcut method in { @code WebClient } .
* @param name the part name
* @param publisher the publisher that forms the part value
* @param typeReference the type contained in the { @code publisher }