Package io.micronaut.http.bind.binders
Interface PostponedRequestArgumentBinder<T>
- Type Parameters:
T- A type
- All Superinterfaces:
io.micronaut.core.bind.ArgumentBinder<T,,HttpRequest<?>> RequestArgumentBinder<T>
- All Known Implementing Classes:
DefaultUnmatchedRequestArgumentBinder,RequestAttributeAnnotationBinder,RequestBeanAnnotationBinder
Marker interface for
RequestArgumentBinder to indicate that it should bind after filters are applied.- Since:
- 4.0.0
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.micronaut.core.bind.ArgumentBinder
io.micronaut.core.bind.ArgumentBinder.BindingResult<T extends Object> -
Method Summary
Modifier and TypeMethodDescriptiondefault io.micronaut.core.bind.ArgumentBinder.BindingResult<T>bindPostponed(io.micronaut.core.convert.ArgumentConversionContext<T> context, HttpRequest<?> request) Bind postponed the given argument from the given source.Methods inherited from interface io.micronaut.core.bind.ArgumentBinder
bind
-
Method Details
-
bindPostponed
default io.micronaut.core.bind.ArgumentBinder.BindingResult<T> bindPostponed(io.micronaut.core.convert.ArgumentConversionContext<T> context, HttpRequest<?> request) Bind postponed the given argument from the given source.- Parameters:
context- TheArgumentConversionContextrequest- The request- Returns:
- An
Optionalof the value. If no binding was possibleOptional.empty()
-