Package io.micronaut.http.bind.binders
Class RequestBeanAnnotationBinder<T>
java.lang.Object
io.micronaut.http.bind.binders.RequestBeanAnnotationBinder<T>
- Type Parameters:
T-
- All Implemented Interfaces:
io.micronaut.core.bind.annotation.AnnotatedArgumentBinder<RequestBean,,T, HttpRequest<?>> io.micronaut.core.bind.ArgumentBinder<T,,HttpRequest<?>> AnnotatedRequestArgumentBinder<RequestBean,,T> PostponedRequestArgumentBinder<T>,RequestArgumentBinder<T>
public class RequestBeanAnnotationBinder<T>
extends Object
implements AnnotatedRequestArgumentBinder<RequestBean,T>, PostponedRequestArgumentBinder<T>
Used to bind Bindable parameters to a Bean object.
NOTE: The binder is annotating as postponed to allow injecting values added by filters.
- Since:
- 2.0
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.micronaut.core.bind.ArgumentBinder
io.micronaut.core.bind.ArgumentBinder.BindingResult<T extends Object> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionio.micronaut.core.bind.ArgumentBinder.BindingResult<T>bind(io.micronaut.core.convert.ArgumentConversionContext<T> context, HttpRequest<?> source) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.micronaut.http.bind.binders.PostponedRequestArgumentBinder
bindPostponed
-
Constructor Details
-
RequestBeanAnnotationBinder
- Parameters:
requestBinderRegistry- Original request binder registry
-
-
Method Details
-
getAnnotationType
- Specified by:
getAnnotationTypein interfaceio.micronaut.core.bind.annotation.AnnotatedArgumentBinder<RequestBean,T, HttpRequest<?>>
-
bind
public io.micronaut.core.bind.ArgumentBinder.BindingResult<T> bind(io.micronaut.core.convert.ArgumentConversionContext<T> context, HttpRequest<?> source) - Specified by:
bindin interfaceio.micronaut.core.bind.ArgumentBinder<T,HttpRequest<?>>
-