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