Package com.liferay.portal.kernel.util
Class SessionParamUtil
Object
com.liferay.portal.kernel.util.SessionParamUtil
- Author:
- Brian Wing Shun Chan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleangetBoolean(jakarta.portlet.PortletRequest portletRequest, String param) static booleangetBoolean(jakarta.portlet.PortletRequest portletRequest, String param, boolean defaultValue) static booleangetBoolean(jakarta.servlet.http.HttpServletRequest httpServletRequest, String param) static booleangetBoolean(jakarta.servlet.http.HttpServletRequest httpServletRequest, String param, boolean defaultValue) static doublestatic doublestatic doublegetDouble(jakarta.portlet.PortletRequest portletRequest, String param, double defaultValue, Locale locale) static doublestatic doublestatic doublegetDouble(jakarta.servlet.http.HttpServletRequest httpServletRequest, String param, double defaultValue) static doublegetDouble(jakarta.servlet.http.HttpServletRequest httpServletRequest, String param, double defaultValue, Locale locale) static doublestatic intgetInteger(jakarta.portlet.PortletRequest portletRequest, String param) static intgetInteger(jakarta.portlet.PortletRequest portletRequest, String param, int defaultValue) static intgetInteger(jakarta.servlet.http.HttpServletRequest httpServletRequest, String param) static intgetInteger(jakarta.servlet.http.HttpServletRequest httpServletRequest, String param, int defaultValue) static longstatic longstatic longstatic longgetLong(jakarta.servlet.http.HttpServletRequest httpServletRequest, String param, long defaultValue) static shortstatic shortstatic shortstatic shortgetShort(jakarta.servlet.http.HttpServletRequest httpServletRequest, String param, short defaultValue) static Stringstatic Stringstatic Stringstatic StringgetString(jakarta.servlet.http.HttpServletRequest httpServletRequest, String param, String defaultValue)
-
Constructor Details
-
SessionParamUtil
public SessionParamUtil()
-
-
Method Details
-
getBoolean
public static boolean getBoolean(jakarta.servlet.http.HttpServletRequest httpServletRequest, String param) -
getBoolean
public static boolean getBoolean(jakarta.servlet.http.HttpServletRequest httpServletRequest, String param, boolean defaultValue) -
getBoolean
-
getBoolean
public static boolean getBoolean(jakarta.portlet.PortletRequest portletRequest, String param, boolean defaultValue) -
getDouble
public static double getDouble(jakarta.servlet.http.HttpServletRequest httpServletRequest, String param) -
getDouble
public static double getDouble(jakarta.servlet.http.HttpServletRequest httpServletRequest, String param, double defaultValue) -
getDouble
-
getDouble
-
getDouble
-
getDouble
public static double getDouble(jakarta.portlet.PortletRequest portletRequest, String param, double defaultValue) -
getDouble
-
getDouble
-
getInteger
public static int getInteger(jakarta.servlet.http.HttpServletRequest httpServletRequest, String param) -
getInteger
public static int getInteger(jakarta.servlet.http.HttpServletRequest httpServletRequest, String param, int defaultValue) -
getInteger
-
getInteger
public static int getInteger(jakarta.portlet.PortletRequest portletRequest, String param, int defaultValue) -
getLong
public static long getLong(jakarta.servlet.http.HttpServletRequest httpServletRequest, String param) -
getLong
public static long getLong(jakarta.servlet.http.HttpServletRequest httpServletRequest, String param, long defaultValue) -
getLong
-
getLong
public static long getLong(jakarta.portlet.PortletRequest portletRequest, String param, long defaultValue) -
getShort
public static short getShort(jakarta.servlet.http.HttpServletRequest httpServletRequest, String param) -
getShort
public static short getShort(jakarta.servlet.http.HttpServletRequest httpServletRequest, String param, short defaultValue) -
getShort
-
getShort
public static short getShort(jakarta.portlet.PortletRequest portletRequest, String param, short defaultValue) -
getString
-
getString
-
getString
-
getString
-