Interface BodyInserters.FormInserter<T>
- Type Parameters:
T
- the value type
- All Superinterfaces:
BodyInserter<MultiValueMap<String,
T>, ClientHttpRequest>
- All Known Subinterfaces:
BodyInserters.MultipartInserter
- Enclosing class:
- BodyInserters
public static interface BodyInserters.FormInserter<T>
extends BodyInserter<MultiValueMap<String,T>,ClientHttpRequest>
Extension of
BodyInserter
that allows for adding form data or
multipart form data.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.springframework.web.reactive.function.BodyInserter
BodyInserter.Context
-
Method Summary
Modifier and TypeMethodDescriptionAdds the specified key-value pair to the form.with
(MultiValueMap<String, T> values) Adds the specified values to the form.Methods inherited from interface org.springframework.web.reactive.function.BodyInserter
insert
-
Method Details
-
with
Adds the specified key-value pair to the form.- Parameters:
key
- the key to be addedvalue
- the value to be added- Returns:
- this inserter for adding more parts
-
with
Adds the specified values to the form.- Parameters:
values
- the values to be added- Returns:
- this inserter for adding more parts
-