接口 BodyInserters.FormInserter<T>
- 类型参数:
T
- the value type
- 所有超级接口:
BodyInserter<MultiValueMap<String,T>,ClientHttpRequest>
- 所有已知子接口:
BodyInserters.MultipartInserter
- 封闭类:
- BodyInserters
public static interface BodyInserters.FormInserter<T> extends BodyInserter<MultiValueMap<String,T>,ClientHttpRequest>
Extension ofBodyInserter
that allows for adding form data or multipart form data.
嵌套类概要
从接口继承的嵌套类/接口 org.springframework.web.reactive.function.BodyInserter
BodyInserter.Context
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 BodyInserters.FormInserter<T>
with(String key, T value)
Adds the specified key-value pair to the form.BodyInserters.FormInserter<T>
with(MultiValueMap<String,T> values)
Adds the specified values to the form.从接口继承的方法 org.springframework.web.reactive.function.BodyInserter
insert
方法详细资料
with
BodyInserters.FormInserter<T> with(String key, T value)
Adds the specified key-value pair to the form.- 参数:
key
- the key to be addedvalue
- the value to be added- 返回:
- this inserter for adding more parts
with
BodyInserters.FormInserter<T> with(MultiValueMap<String,T> values)
Adds the specified values to the form.- 参数:
values
- the values to be added- 返回:
- this inserter for adding more parts