use of cn.taketoday.web.session.SessionManager in project today-framework by TAKETODAY.
the class SessionLocaleResolver method setSessionAttribute.
private void setSessionAttribute(RequestContext request, String attributeName, @Nullable Object attribute) {
SessionManager sessionManager = getSessionManager(request);
if (sessionManager != null) {
WebSession session = sessionManager.getSession(request);
session.setAttribute(attributeName, attribute);
}
}
Aggregations