public static interface BodyInserters.FormInserter<T> extends BodyInserter<MultiValueMap<String,T>,ClientHttpRequest>
BodyInserter
that allows for adding form data or
multipart form data.BodyInserter.Context
Modifier and Type | Method and Description |
---|---|
BodyInserters.FormInserter<T> |
with(MultiValueMap<String,T> values)
Adds the specified values to the form.
|
BodyInserters.FormInserter<T> |
with(String key,
T value)
Adds the specified key-value pair to the form.
|
insert
BodyInserters.FormInserter<T> with(String key, T value)
key
- the key to be addedvalue
- the value to be addedBodyInserters.FormInserter<T> with(MultiValueMap<String,T> values)
values
- the values to be added