List of usage examples for com.vaadin.server WrappedHttpSession getHttpSession
public HttpSession getHttpSession()
From source file:com.foc.vaadin.FocWebApplication.java
License:Apache License
@Override protected void init(VaadinRequest vaadinRequest) { HttpSession httpSession = null;//from ww w. j ava 2s .c o m WrappedHttpSession wrapperHttpSession = VaadinSession.getCurrent() != null ? (WrappedHttpSession) VaadinSession.getCurrent().getSession() : null; if (wrapperHttpSession != null) { httpSession = wrapperHttpSession.getHttpSession(); } initialize(vaadinRequest, VaadinServlet.getCurrent().getServletContext(), httpSession, false); initializeGUI(vaadinRequest, VaadinServlet.getCurrent().getServletContext(), httpSession); }