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