@Singleton public class BasicAuthArgumentBinder extends Object implements TypedRequestArgumentBinder<BasicAuth>
BasicAuth argument from the authorization
header in the request.ArgumentBinder.BindingResult<T>| Constructor and Description |
|---|
BasicAuthArgumentBinder() |
| Modifier and Type | Method and Description |
|---|---|
Argument<BasicAuth> |
argumentType() |
ArgumentBinder.BindingResult<BasicAuth> |
bind(ArgumentConversionContext<BasicAuth> context,
HttpRequest<?> source)
Bind the given argument from the given source.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsuperTypespublic Argument<BasicAuth> argumentType()
argumentType in interface TypeArgumentBinder<BasicAuth,HttpRequest<?>>public ArgumentBinder.BindingResult<BasicAuth> bind(ArgumentConversionContext<BasicAuth> context, HttpRequest<?> source)
ArgumentBinderbind in interface ArgumentBinder<BasicAuth,HttpRequest<?>>context - The ArgumentConversionContextsource - The sourceOptional of the value. If no binding was possible Optional.empty()