List of usage examples for com.vaadin.server WebBrowser updateRequestDetails
public void updateRequestDetails(VaadinRequest request)
From source file:com.haulmont.cuba.web.security.ConnectionImpl.java
License:Apache License
protected WebBrowser getWebBrowserDetails() { // timezone info is passed only on VaadinSession creation WebBrowser webBrowser = VaadinSession.getCurrent().getBrowser(); VaadinRequest currentRequest = VaadinService.getCurrentRequest(); // update web browser instance if current request is not null // it can be null in case of background/async processing of login request if (currentRequest != null) { webBrowser.updateRequestDetails(currentRequest); }/*from w ww. j a v a 2s . co m*/ return webBrowser; }