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