List of usage examples for com.vaadin.server VaadinServletService getCurrentServletRequest
public static HttpServletRequest getCurrentServletRequest()
From source file:org.vaadin.addons.lazycontainer.LazyContainer.java
License:Apache License
protected void refreshCachedSize() { final HttpServletRequest currentServletRequest = VaadinServletService.getCurrentServletRequest(); weakRef = new WeakReference<>(currentServletRequest); }