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