Package io.micronaut.http.bind.binders
Interface AnnotatedRequestArgumentBinder<A extends Annotation,T>
- Type Parameters:
A
- An annotationT
- A type
- All Superinterfaces:
AnnotatedArgumentBinder<A,
,T, HttpRequest<?>> ArgumentBinder<T,
,HttpRequest<?>> RequestArgumentBinder<T>
- All Known Subinterfaces:
BodyArgumentBinder<T>
,NonBlockingBodyArgumentBinder<T>
- All Known Implementing Classes:
CookieAnnotationBinder
,DefaultBodyAnnotationBinder
,HeaderAnnotationBinder
,MultipartBodyArgumentBinder
,PartAnnotationBinder
,PathVariableAnnotationBinder
,QueryValueArgumentBinder
,RequestAttributeAnnotationBinder
,RequestBeanAnnotationBinder
public interface AnnotatedRequestArgumentBinder<A extends Annotation,T>
extends RequestArgumentBinder<T>, AnnotatedArgumentBinder<A,T,HttpRequest<?>>
An interface for classes that bind an
Argument
from an HttpRequest
driven by
an annotation.- Since:
- 1.0
- Author:
- Graeme Rocher
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.micronaut.core.bind.ArgumentBinder
ArgumentBinder.BindingResult<T>
-
Method Summary
Modifier and TypeMethodDescriptionstatic <SA extends Annotation,
ST>
AnnotatedRequestArgumentBinderof
(Class<SA> annotationType, ArgumentBinder<ST, HttpRequest<?>> binder) Create a binder from an annotation type and another binder.Methods inherited from interface io.micronaut.core.bind.annotation.AnnotatedArgumentBinder
getAnnotationType
Methods inherited from interface io.micronaut.core.bind.ArgumentBinder
bind
-
Method Details
-
of
static <SA extends Annotation,ST> AnnotatedRequestArgumentBinder of(Class<SA> annotationType, 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
-