@Singleton @Requires(classes=HttpServerConfiguration.class) public class SessionValueArgumentBinder extends Object implements AnnotatedRequestArgumentBinder<SessionValue,Object>
SessionValue
annotation.ArgumentBinder.BindingResult<T>
Constructor and Description |
---|
SessionValueArgumentBinder() |
Modifier and Type | Method and Description |
---|---|
ArgumentBinder.BindingResult<Object> |
bind(ArgumentConversionContext<Object> context,
HttpRequest<?> source)
Bind the given argument from the given source.
|
Class<SessionValue> |
getAnnotationType() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
of
public Class<SessionValue> getAnnotationType()
getAnnotationType
in interface AnnotatedArgumentBinder<SessionValue,Object,HttpRequest<?>>
public ArgumentBinder.BindingResult<Object> bind(ArgumentConversionContext<Object> context, HttpRequest<?> source)
ArgumentBinder
bind
in interface ArgumentBinder<Object,HttpRequest<?>>
context
- The ArgumentConversionContext
source
- The sourceOptional
of the value. If no binding was possible Optional.empty()