A
- An annotationT
- A typepublic interface AnnotatedRequestArgumentBinder<A extends java.lang.annotation.Annotation,T> extends RequestArgumentBinder<T>, io.micronaut.core.bind.annotation.AnnotatedArgumentBinder<A,T,HttpRequest<?>>
Argument
from an HttpRequest
driven by
an annotation.CookieAnnotationBinder
,
ParameterAnnotationBinder
,
HeaderAnnotationBinder
,
RequestAttributeAnnotationBinder
Modifier and Type | Method and Description |
---|---|
static <SA extends java.lang.annotation.Annotation,ST> |
of(java.lang.Class<SA> annotationType,
io.micronaut.core.bind.ArgumentBinder<ST,HttpRequest<?>> binder)
Create a binder from an annotation type and another binder.
|
static <SA extends java.lang.annotation.Annotation,ST> AnnotatedRequestArgumentBinder of(java.lang.Class<SA> annotationType, io.micronaut.core.bind.ArgumentBinder<ST,HttpRequest<?>> binder)
SA
- The annotation generic typeST
- The argument typeannotationType
- The annotation typebinder
- The binderAnnotatedRequestArgumentBinder