T - A typepublic class RequestAttributeAnnotationBinder<T> extends AbstractAnnotatedArgumentBinder<RequestAttribute,T,HttpRequest<?>> implements AnnotatedRequestArgumentBinder<RequestAttribute,T>
AnnotatedArgumentBinder implementation that uses the RequestAttribute
 annotation to trigger binding from an HTTP request attribute.HttpAttributesArgumentBinder.BindingResult<T>| Constructor and Description | 
|---|
| RequestAttributeAnnotationBinder(ConversionService<?> conversionService) | 
| Modifier and Type | Method and Description | 
|---|---|
| ArgumentBinder.BindingResult<T> | bind(ArgumentConversionContext<T> argument,
    HttpRequest<?> source)Bind the given argument from the given source. | 
| Class<RequestAttribute> | getAnnotationType() | 
| protected String | getFallbackFormat(Argument argument) | 
doBind, doConvert, doResolveclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitofpublic RequestAttributeAnnotationBinder(ConversionService<?> conversionService)
conversionService - conversionServicepublic Class<RequestAttribute> getAnnotationType()
getAnnotationType in interface AnnotatedArgumentBinder<RequestAttribute,T,HttpRequest<?>>public ArgumentBinder.BindingResult<T> bind(ArgumentConversionContext<T> argument, HttpRequest<?> source)
ArgumentBinderbind in interface ArgumentBinder<T,HttpRequest<?>>argument - The ArgumentConversionContextsource - The sourceOptional of the value. If no binding was possible Optional.empty()protected String getFallbackFormat(Argument argument)
getFallbackFormat in class AbstractAnnotatedArgumentBinder<RequestAttribute,T,HttpRequest<?>>argument - The argument