Interface ReactiveValueEvaluationContextProvider
- All Superinterfaces:
ValueEvaluationContextProvider
Reactive extension to
ValueEvaluationContext
for obtaining a ValueEvaluationContext
that participates
in the reactive flow.- Since:
- 3.4
- Author:
- Mark Paluch
-
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<ValueEvaluationContext>
getEvaluationContextLater
(Object rootObject) Return aValueEvaluationContext
built using the given parameter values.default reactor.core.publisher.Mono<ValueEvaluationContext>
getEvaluationContextLater
(Object rootObject, ExpressionDependencies dependencies) Return a tailoredValueEvaluationContext
built using the given parameter values and consideringexpression dependencies
.Methods inherited from interface org.springframework.data.expression.ValueEvaluationContextProvider
getEvaluationContext, getEvaluationContext
-
Method Details
-
getEvaluationContextLater
reactor.core.publisher.Mono<ValueEvaluationContext> getEvaluationContextLater(@Nullable Object rootObject) Return aValueEvaluationContext
built using the given parameter values.- Parameters:
rootObject
- the root object to set in theValueEvaluationContext
.- Returns:
- a mono that emits exactly one
ValueEvaluationContext
.
-
getEvaluationContextLater
default reactor.core.publisher.Mono<ValueEvaluationContext> getEvaluationContextLater(@Nullable Object rootObject, ExpressionDependencies dependencies) Return a tailoredValueEvaluationContext
built using the given parameter values and consideringexpression dependencies
. The returnedValueEvaluationContext
may contain a reduced visibility of methods and properties/fields according to the requiredexpression dependencies
.- Parameters:
rootObject
- the root object to set in theValueEvaluationContext
.dependencies
- the requested expression dependencies to be available.- Returns:
- a mono that emits exactly one
ValueEvaluationContext
.
-