Package io.micronaut.http.bind.binders
Interface PendingRequestBindingResult<T>
- Type Parameters:
T
- The result type
- All Superinterfaces:
ArgumentBinder.BindingResult<T>
A variation of
ArgumentBinder.BindingResult
that indicates
that the binding result is pending and the value should be checked later.- Since:
- 4.0.0
- Author:
- Denis Stepanov
-
Field Summary
Fields inherited from interface io.micronaut.core.bind.ArgumentBinder.BindingResult
EMPTY, UNSATISFIED
-
Method Summary
Modifier and TypeMethodDescriptionboolean
default boolean
default boolean
Methods inherited from interface io.micronaut.core.bind.ArgumentBinder.BindingResult
get, getConversionErrors, getValue
-
Method Details
-
isPending
boolean isPending()- Returns:
- True if the result is pending - not ready to be resolved
-
isSatisfied
default boolean isSatisfied()- Specified by:
isSatisfied
in interfaceArgumentBinder.BindingResult<T>
- Returns:
- Was the binding requirement satisfied
-
isPresentAndSatisfied
default boolean isPresentAndSatisfied()- Specified by:
isPresentAndSatisfied
in interfaceArgumentBinder.BindingResult<T>
- Returns:
- Is the value present and satisfied
-