this.handler = handler;
}
public void handle(final Context context) {
context.getRequest().addLazy(Session.class, () -> {
SessionManager sessionManager = context.get(SessionManager.class);
final RequestSessionManager requestSessionManager = new RequestSessionManager(context, sessionManager);
return requestSessionManager.getSession();
});
context.insert(handler);