gpt4 book ai didi

org.springframework.web.bind.support.WebExchangeDataBinder.extractValuesToBind()方法的使用及代码示例

转载 作者:知者 更新时间:2024-03-21 15:27:05 30 4
gpt4 key购买 nike

本文整理了Java中org.springframework.web.bind.support.WebExchangeDataBinder.extractValuesToBind()方法的一些代码示例,展示了WebExchangeDataBinder.extractValuesToBind()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。WebExchangeDataBinder.extractValuesToBind()方法的具体详情如下:
包路径:org.springframework.web.bind.support.WebExchangeDataBinder
类名称:WebExchangeDataBinder
方法名:extractValuesToBind

WebExchangeDataBinder.extractValuesToBind介绍

[英]Combine query params and form data for multipart form data from the body of the request into a Map of values to use for data binding purposes.
[中]将请求主体中的多部分表单数据的查询参数和表单数据组合到一个值映射中,以用于数据绑定目的。

代码示例

代码示例来源:origin: spring-projects/spring-framework

/**
 * Protected method to obtain the values for data binding. By default this
 * method delegates to {@link #extractValuesToBind(ServerWebExchange)}.
 */
protected Mono<Map<String, Object>> getValuesToBind(ServerWebExchange exchange) {
  return extractValuesToBind(exchange);
}

代码示例来源:origin: org.springframework/spring-web

/**
 * Protected method to obtain the values for data binding. By default this
 * method delegates to {@link #extractValuesToBind(ServerWebExchange)}.
 */
protected Mono<Map<String, Object>> getValuesToBind(ServerWebExchange exchange) {
  return extractValuesToBind(exchange);
}

代码示例来源:origin: spring-projects/spring-framework

return WebExchangeDataBinder.extractValuesToBind(exchange).map(bindValues -> {
  ConstructorProperties cp = ctor.getAnnotation(ConstructorProperties.class);
  String[] paramNames = (cp != null ? cp.value() : parameterNameDiscoverer.getParameterNames(ctor));

代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.spring-web

/**
 * Protected method to obtain the values for data binding. By default this
 * method delegates to {@link #extractValuesToBind(ServerWebExchange)}.
 */
protected Mono<Map<String, Object>> getValuesToBind(ServerWebExchange exchange) {
  return extractValuesToBind(exchange);
}

代码示例来源:origin: apache/servicemix-bundles

/**
 * Protected method to obtain the values for data binding. By default this
 * method delegates to {@link #extractValuesToBind(ServerWebExchange)}.
 */
protected Mono<Map<String, Object>> getValuesToBind(ServerWebExchange exchange) {
  return extractValuesToBind(exchange);
}

30 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com