Class RequestAttributeAnnotationBinder<T>

java.lang.Object
io.micronaut.core.bind.annotation.AbstractArgumentBinder<T>
io.micronaut.http.bind.binders.RequestAttributeAnnotationBinder<T>
Type Parameters:
T - A type
All Implemented Interfaces:
AnnotatedArgumentBinder<RequestAttribute,T,HttpRequest<?>>, ArgumentBinder<T,HttpRequest<?>>, AnnotatedRequestArgumentBinder<RequestAttribute,T>, PostponedRequestArgumentBinder<T>, RequestArgumentBinder<T>

public class RequestAttributeAnnotationBinder<T> extends AbstractArgumentBinder<T> implements AnnotatedRequestArgumentBinder<RequestAttribute,T>, PostponedRequestArgumentBinder<T>
An AnnotatedArgumentBinder implementation that uses the RequestAttribute annotation to trigger binding from an HTTP request attribute. NOTE: The binder is annotates as postponed to allow injecting attributes added by filters.
Author:
Ahmed Lafta
See Also: