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