public class WebExchangeDataBinder extends WebDataBinder
DataBinder。警告 : データバインディングは、外部クライアントによるアクセスや変更を目的としていないオブジェクトグラフの部分を公開することにより、セキュリティの課題を引き起こす可能性があります。データバインディングの設計と使用は、セキュリティに関して慎重に検討する必要があります。詳細については、リファレンスマニュアルの Spring Web MVC および Spring WebFlux のデータバインディングに関する専用セクションを参照してください。
DEFAULT_FIELD_DEFAULT_PREFIX, DEFAULT_FIELD_MARKER_PREFIXDEFAULT_AUTO_GROW_COLLECTION_LIMIT, DEFAULT_OBJECT_NAME, logger| コンストラクターと説明 |
|---|
WebExchangeDataBinder(ObjectSE target) デフォルトのオブジェクト名で新しいインスタンスを作成します。 |
WebExchangeDataBinder(ObjectSE target, StringSE objectName) 新しいインスタンスを作成します。 |
| 修飾子と型 | メソッドと説明 |
|---|---|
protected static void | addBindValue(MapSE<StringSE, ObjectSE> params, StringSE key, ListSE<?> values) |
reactor.core.publisher.Mono<VoidSE> | bind(ServerWebExchange exchange) クエリパラメーター、フォームデータ、マルチパートフォームデータをバインダーターゲットにバインドします。 |
static reactor.core.publisher.Mono<MapSE<StringSE, ObjectSE>> | extractValuesToBind(ServerWebExchange exchange) リクエストの本文からのマルチパートフォームデータのクエリパラメーターとフォームデータを組み合わせて、データバインディングの目的で使用する値の Map<String, Object> にします。 |
reactor.core.publisher.Mono<MapSE<StringSE, ObjectSE>> | getValuesToBind(ServerWebExchange exchange) データバインディングの値を取得します。 |
adaptEmptyArrayIndices, bindMultipart, checkFieldDefaults, checkFieldMarkers, doBind, getEmptyValue, getEmptyValue, getFieldDefaultPrefix, getFieldMarkerPrefix, isBindEmptyMultipartFiles, setBindEmptyMultipartFiles, setFieldDefaultPrefix, setFieldMarkerPrefixaddCustomFormatter, addCustomFormatter, addCustomFormatter, addValidators, applyPropertyValues, bind, checkAllowedFields, checkRequiredFields, close, convertIfNecessary, convertIfNecessary, convertIfNecessary, convertIfNecessary, createBeanPropertyBindingResult, createDirectFieldBindingResult, findCustomEditor, getAllowedFields, getAutoGrowCollectionLimit, getBindingErrorProcessor, getBindingResult, getConversionService, getDisallowedFields, getInternalBindingResult, getObjectName, getPropertyAccessor, getPropertyEditorRegistry, getRequiredFields, getSimpleTypeConverter, getTarget, getTypeConverter, getValidator, getValidators, initBeanPropertyAccess, initDirectFieldAccess, isAllowed, isAutoGrowNestedPaths, isIgnoreInvalidFields, isIgnoreUnknownFields, registerCustomEditor, registerCustomEditor, replaceValidators, setAllowedFields, setAutoGrowCollectionLimit, setAutoGrowNestedPaths, setBindingErrorProcessor, setConversionService, setDisallowedFields, setIgnoreInvalidFields, setIgnoreUnknownFields, setMessageCodesResolver, setRequiredFields, setValidator, validate, validatecloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSEpublic WebExchangeDataBinder(@Nullable ObjectSE target)
target - バインドするターゲットオブジェクト (または、バインダーが単なるパラメーター値の変換に使用される場合は null )DataBinder.DEFAULT_OBJECT_NAMEpublic reactor.core.publisher.Mono<VoidSE> bind(ServerWebExchange exchange)
exchange - 現在の交換 Mono<Void> public reactor.core.publisher.Mono<MapSE<StringSE,ObjectSE>> getValuesToBind(ServerWebExchange exchange)
extractValuesToBind(ServerWebExchange) に委譲されます。exchange - 現在の交換 public static reactor.core.publisher.Mono<MapSE<StringSE,ObjectSE>> extractValuesToBind(ServerWebExchange exchange)
Map<String, Object> にします。exchange - 現在の交換 Mono ServerHttpRequest.getQueryParams(), ServerWebExchange.getFormData(), ServerWebExchange.getMultipartData()