List of usage examples for org.springframework.web.context.request RequestAttributes REFERENCE_SESSION
String REFERENCE_SESSION
To view the source code for org.springframework.web.context.request RequestAttributes REFERENCE_SESSION.
Click Source Link
From source file:org.jdal.vaadin.VaadinUtils.java
public static HttpSession getSession() { RequestAttributes ra = RequestContextHolder.getRequestAttributes(); return (HttpSession) (ra != null ? ra.resolveReference(RequestAttributes.REFERENCE_SESSION) : null); }