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(PortletRequest portletRequest, String param) static booleangetBoolean(PortletRequest portletRequest, String param, boolean defaultValue) static booleangetBoolean(javax.servlet.http.HttpServletRequest httpServletRequest, String param) static booleangetBoolean(javax.servlet.http.HttpServletRequest httpServletRequest, String param, boolean defaultValue) static doublegetDouble(PortletRequest portletRequest, String param) static doublegetDouble(PortletRequest portletRequest, String param, double defaultValue) static doublegetDouble(PortletRequest portletRequest, String param, double defaultValue, Locale locale) static doublegetDouble(PortletRequest portletRequest, String param, Locale locale) static doublestatic doublegetDouble(javax.servlet.http.HttpServletRequest httpServletRequest, String param, double defaultValue) static doublegetDouble(javax.servlet.http.HttpServletRequest httpServletRequest, String param, double defaultValue, Locale locale) static doublestatic intgetInteger(PortletRequest portletRequest, String param) static intgetInteger(PortletRequest portletRequest, String param, int defaultValue) static intgetInteger(javax.servlet.http.HttpServletRequest httpServletRequest, String param) static intgetInteger(javax.servlet.http.HttpServletRequest httpServletRequest, String param, int defaultValue) static longgetLong(PortletRequest portletRequest, String param) static longgetLong(PortletRequest portletRequest, String param, long defaultValue) static longstatic longstatic shortgetShort(PortletRequest portletRequest, String param) static shortgetShort(PortletRequest portletRequest, String param, short defaultValue) static shortstatic shortgetShort(javax.servlet.http.HttpServletRequest httpServletRequest, String param, short defaultValue) static StringgetString(PortletRequest portletRequest, String param) static StringgetString(PortletRequest portletRequest, String param, String defaultValue) static Stringstatic StringgetString(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
-