Package io.micronaut.http.bind.binders
Interface AnnotatedRequestArgumentBinder<A extends java.lang.annotation.Annotation,T>
-
- Type Parameters:
A
- An annotationT
- A type
- All Superinterfaces:
io.micronaut.core.bind.annotation.AnnotatedArgumentBinder<A,T,HttpRequest<?>>
,io.micronaut.core.bind.ArgumentBinder<T,HttpRequest<?>>
,RequestArgumentBinder<T>
- All Known Subinterfaces:
BodyArgumentBinder<T>
,NonBlockingBodyArgumentBinder<T>
- All Known Implementing Classes:
CookieAnnotationBinder
,DefaultBodyAnnotationBinder
,HeaderAnnotationBinder
,ParameterAnnotationBinder
,PartAnnotationBinder
,PathVariableAnnotationBinder
,QueryValueArgumentBinder
,RequestAttributeAnnotationBinder
,RequestBeanAnnotationBinder
public interface AnnotatedRequestArgumentBinder<A extends java.lang.annotation.Annotation,T> extends RequestArgumentBinder<T>, io.micronaut.core.bind.annotation.AnnotatedArgumentBinder<A,T,HttpRequest<?>>
An interface for classes that bind anArgument
from anHttpRequest
driven by an annotation.- Since:
- 1.0
- See Also:
CookieAnnotationBinder
,ParameterAnnotationBinder
,HeaderAnnotationBinder
,RequestAttributeAnnotationBinder
-
-
Method Summary
Static Methods Modifier and Type Method Description static <SA extends java.lang.annotation.Annotation,ST>
AnnotatedRequestArgumentBinderof(java.lang.Class<SA> annotationType, io.micronaut.core.bind.ArgumentBinder<ST,HttpRequest<?>> binder)
Create a binder from an annotation type and another binder.
-
-
-
Method Detail
-
of
static <SA extends java.lang.annotation.Annotation,ST> AnnotatedRequestArgumentBinder of(java.lang.Class<SA> annotationType, io.micronaut.core.bind.ArgumentBinder<ST,HttpRequest<?>> binder)
Create a binder from an annotation type and another binder.- Type Parameters:
SA
- The annotation generic typeST
- The argument type- Parameters:
annotationType
- The annotation typebinder
- The binder- Returns:
- The
AnnotatedRequestArgumentBinder
-
-