T
- the value typepublic static interface BodyInserters.FormInserter<T> extends BodyInserter<MultiValueMap<java.lang.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<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.
|
insert
BodyInserters.FormInserter<T> with(java.lang.String key, 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