A
- An annotationT
- A typepublic interface AnnotatedRequestArgumentBinder<A extends java.lang.annotation.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 java.lang.annotation.Annotation,ST> |
of(java.lang.Class<SA> annotationType,
ArgumentBinder<ST,HttpRequest<?>> binder)
Create a binder from an annotation type and another binder.
|
getAnnotationType
bind
static <SA extends java.lang.annotation.Annotation,ST> AnnotatedRequestArgumentBinder of(java.lang.Class<SA> annotationType, ArgumentBinder<ST,HttpRequest<?>> binder)
SA
- The annotation generic typeST
- The argument typeannotationType
- The annotation typebinder
- The binderAnnotatedRequestArgumentBinder