Example usage for com.liferay.portal.kernel.util SessionParamUtil getBoolean

List of usage examples for com.liferay.portal.kernel.util SessionParamUtil getBoolean

Introduction

In this page you can find the example usage for com.liferay.portal.kernel.util SessionParamUtil getBoolean.

Prototype

public static boolean getBoolean(PortletRequest portletRequest, String param, boolean defaultValue) 

Source Link

Usage

From source file:com.liferay.rtl.servlet.filters.dynamiccss.DynamicCSSUtil.java

License:Open Source License

private static boolean _isThemeCssFastLoad(HttpServletRequest request, ThemeDisplay themeDisplay) {

    if (themeDisplay != null) {
        return themeDisplay.isThemeCssFastLoad();
    }/*www  .jav a  2s.co m*/

    return SessionParamUtil.getBoolean(request, "css_fast_load", PropsValues.THEME_CSS_FAST_LOAD);
}