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 boolean
getBoolean
(PortletRequest portletRequest, String param) static boolean
getBoolean
(PortletRequest portletRequest, String param, boolean defaultValue) static boolean
getBoolean
(javax.servlet.http.HttpServletRequest httpServletRequest, String param) static boolean
getBoolean
(javax.servlet.http.HttpServletRequest httpServletRequest, String param, boolean defaultValue) static double
getDouble
(PortletRequest portletRequest, String param) static double
getDouble
(PortletRequest portletRequest, String param, double defaultValue) static double
getDouble
(PortletRequest portletRequest, String param, double defaultValue, Locale locale) static double
getDouble
(PortletRequest portletRequest, String param, Locale locale) static double
static double
getDouble
(javax.servlet.http.HttpServletRequest httpServletRequest, String param, double defaultValue) static double
getDouble
(javax.servlet.http.HttpServletRequest httpServletRequest, String param, double defaultValue, Locale locale) static double
static int
getInteger
(PortletRequest portletRequest, String param) static int
getInteger
(PortletRequest portletRequest, String param, int defaultValue) static int
getInteger
(javax.servlet.http.HttpServletRequest httpServletRequest, String param) static int
getInteger
(javax.servlet.http.HttpServletRequest httpServletRequest, String param, int defaultValue) static long
getLong
(PortletRequest portletRequest, String param) static long
getLong
(PortletRequest portletRequest, String param, long defaultValue) static long
static long
static short
getShort
(PortletRequest portletRequest, String param) static short
getShort
(PortletRequest portletRequest, String param, short defaultValue) static short
static short
getShort
(javax.servlet.http.HttpServletRequest httpServletRequest, String param, short defaultValue) static String
getString
(PortletRequest portletRequest, String param) static String
getString
(PortletRequest portletRequest, String param, String defaultValue) static String
static String
getString
(javax.servlet.http.HttpServletRequest httpServletRequest, String param, String defaultValue)
-
Constructor Details
-
SessionParamUtil
public SessionParamUtil()
-
-
Method Details
-
getBoolean
public static boolean getBoolean(javax.servlet.http.HttpServletRequest httpServletRequest, String param) -
getBoolean
public static boolean getBoolean(javax.servlet.http.HttpServletRequest httpServletRequest, String param, boolean defaultValue) -
getBoolean
-
getBoolean
-
getDouble
public static double getDouble(javax.servlet.http.HttpServletRequest httpServletRequest, String param) -
getDouble
public static double getDouble(javax.servlet.http.HttpServletRequest httpServletRequest, String param, double defaultValue) -
getDouble
-
getDouble
-
getDouble
-
getDouble
-
getDouble
public static double getDouble(PortletRequest portletRequest, String param, double defaultValue, Locale locale) -
getDouble
-
getInteger
public static int getInteger(javax.servlet.http.HttpServletRequest httpServletRequest, String param) -
getInteger
public static int getInteger(javax.servlet.http.HttpServletRequest httpServletRequest, String param, int defaultValue) -
getInteger
-
getInteger
-
getLong
-
getLong
public static long getLong(javax.servlet.http.HttpServletRequest httpServletRequest, String param, long defaultValue) -
getLong
-
getLong
-
getShort
public static short getShort(javax.servlet.http.HttpServletRequest httpServletRequest, String param) -
getShort
public static short getShort(javax.servlet.http.HttpServletRequest httpServletRequest, String param, short defaultValue) -
getShort
-
getShort
-
getString
-
getString
-
getString
-
getString
-