接口 BodyInserters.FormInserter<T>

类型参数:
T - the value type
所有超级接口:
BodyInserter<cn.taketoday.util.MultiValueMap<String,T>,ClientHttpRequest>
所有已知子接口:
BodyInserters.MultipartInserter
所有已知实现类:
BodyInserters.DefaultFormInserter, BodyInserters.DefaultMultipartInserter
封闭类:
BodyInserters

public static interface BodyInserters.FormInserter<T> extends BodyInserter<cn.taketoday.util.MultiValueMap<String,T>,ClientHttpRequest>
Extension of BodyInserter that allows for adding form data or multipart form data.
  • 方法详细资料

    • with

      BodyInserters.FormInserter<T> with(String key, T value)
      Adds the specified key-value pair to the form.
      参数:
      key - the key to be added
      value - the value to be added
      返回:
      this inserter for adding more parts
    • with

      BodyInserters.FormInserter<T> with(cn.taketoday.util.MultiValueMap<String,T> values)
      Adds the specified values to the form.
      参数:
      values - the values to be added
      返回:
      this inserter for adding more parts