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,
RequestAttributeAnnotationBinderArgumentBinder.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.
|
getAnnotationTypebindstatic <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