com.liferay.portal.kernel.util
Class SessionParamUtil
java.lang.Object
com.liferay.portal.kernel.util.SessionParamUtil
public class SessionParamUtil
- extends Object
Method Summary |
static boolean |
getBoolean(javax.servlet.http.HttpServletRequest request,
String param)
|
static boolean |
getBoolean(javax.servlet.http.HttpServletRequest request,
String param,
boolean defaultValue)
|
static boolean |
getBoolean(PortletRequest portletRequest,
String param)
|
static boolean |
getBoolean(PortletRequest portletRequest,
String param,
boolean defaultValue)
|
static double |
getDouble(javax.servlet.http.HttpServletRequest request,
String param)
|
static double |
getDouble(javax.servlet.http.HttpServletRequest request,
String param,
double defaultValue)
|
static double |
getDouble(PortletRequest portletRequest,
String param)
|
static double |
getDouble(PortletRequest portletRequest,
String param,
double defaultValue)
|
static int |
getInteger(javax.servlet.http.HttpServletRequest request,
String param)
|
static int |
getInteger(javax.servlet.http.HttpServletRequest request,
String param,
int defaultValue)
|
static int |
getInteger(PortletRequest portletRequest,
String param)
|
static int |
getInteger(PortletRequest portletRequest,
String param,
int defaultValue)
|
static long |
getLong(javax.servlet.http.HttpServletRequest request,
String param)
|
static long |
getLong(javax.servlet.http.HttpServletRequest request,
String param,
long defaultValue)
|
static long |
getLong(PortletRequest portletRequest,
String param)
|
static long |
getLong(PortletRequest portletRequest,
String param,
long defaultValue)
|
static short |
getShort(javax.servlet.http.HttpServletRequest request,
String param)
|
static short |
getShort(javax.servlet.http.HttpServletRequest request,
String param,
short defaultValue)
|
static short |
getShort(PortletRequest portletRequest,
String param)
|
static short |
getShort(PortletRequest portletRequest,
String param,
short defaultValue)
|
static String |
getString(javax.servlet.http.HttpServletRequest request,
String param)
|
static String |
getString(javax.servlet.http.HttpServletRequest request,
String param,
String defaultValue)
|
static String |
getString(PortletRequest portletRequest,
String param)
|
static String |
getString(PortletRequest portletRequest,
String param,
String defaultValue)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SessionParamUtil
public SessionParamUtil()
getBoolean
public static boolean getBoolean(javax.servlet.http.HttpServletRequest request,
String param)
getBoolean
public static boolean getBoolean(javax.servlet.http.HttpServletRequest request,
String param,
boolean defaultValue)
getBoolean
public static boolean getBoolean(PortletRequest portletRequest,
String param)
getBoolean
public static boolean getBoolean(PortletRequest portletRequest,
String param,
boolean defaultValue)
getDouble
public static double getDouble(javax.servlet.http.HttpServletRequest request,
String param)
getDouble
public static double getDouble(javax.servlet.http.HttpServletRequest request,
String param,
double defaultValue)
getDouble
public static double getDouble(PortletRequest portletRequest,
String param)
getDouble
public static double getDouble(PortletRequest portletRequest,
String param,
double defaultValue)
getInteger
public static int getInteger(javax.servlet.http.HttpServletRequest request,
String param)
getInteger
public static int getInteger(javax.servlet.http.HttpServletRequest request,
String param,
int defaultValue)
getInteger
public static int getInteger(PortletRequest portletRequest,
String param)
getInteger
public static int getInteger(PortletRequest portletRequest,
String param,
int defaultValue)
getLong
public static long getLong(javax.servlet.http.HttpServletRequest request,
String param)
getLong
public static long getLong(javax.servlet.http.HttpServletRequest request,
String param,
long defaultValue)
getLong
public static long getLong(PortletRequest portletRequest,
String param)
getLong
public static long getLong(PortletRequest portletRequest,
String param,
long defaultValue)
getShort
public static short getShort(javax.servlet.http.HttpServletRequest request,
String param)
getShort
public static short getShort(javax.servlet.http.HttpServletRequest request,
String param,
short defaultValue)
getShort
public static short getShort(PortletRequest portletRequest,
String param)
getShort
public static short getShort(PortletRequest portletRequest,
String param,
short defaultValue)
getString
public static String getString(javax.servlet.http.HttpServletRequest request,
String param)
getString
public static String getString(javax.servlet.http.HttpServletRequest request,
String param,
String defaultValue)
getString
public static String getString(PortletRequest portletRequest,
String param)
getString
public static String getString(PortletRequest portletRequest,
String param,
String defaultValue)