Class SessionParamUtil

Object
com.liferay.portal.kernel.util.SessionParamUtil

public class SessionParamUtil extends Object
Author:
Brian Wing Shun Chan
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static boolean
    getBoolean(jakarta.portlet.PortletRequest portletRequest, String param)
     
    static boolean
    getBoolean(jakarta.portlet.PortletRequest portletRequest, String param, boolean defaultValue)
     
    static boolean
    getBoolean(jakarta.servlet.http.HttpServletRequest httpServletRequest, String param)
     
    static boolean
    getBoolean(jakarta.servlet.http.HttpServletRequest httpServletRequest, String param, boolean defaultValue)
     
    static double
    getDouble(jakarta.portlet.PortletRequest portletRequest, String param)
     
    static double
    getDouble(jakarta.portlet.PortletRequest portletRequest, String param, double defaultValue)
     
    static double
    getDouble(jakarta.portlet.PortletRequest portletRequest, String param, double defaultValue, Locale locale)
     
    static double
    getDouble(jakarta.portlet.PortletRequest portletRequest, String param, Locale locale)
     
    static double
    getDouble(jakarta.servlet.http.HttpServletRequest httpServletRequest, String param)
     
    static double
    getDouble(jakarta.servlet.http.HttpServletRequest httpServletRequest, String param, double defaultValue)
     
    static double
    getDouble(jakarta.servlet.http.HttpServletRequest httpServletRequest, String param, double defaultValue, Locale locale)
     
    static double
    getDouble(jakarta.servlet.http.HttpServletRequest httpServletRequest, String param, Locale locale)
     
    static int
    getInteger(jakarta.portlet.PortletRequest portletRequest, String param)
     
    static int
    getInteger(jakarta.portlet.PortletRequest portletRequest, String param, int defaultValue)
     
    static int
    getInteger(jakarta.servlet.http.HttpServletRequest httpServletRequest, String param)
     
    static int
    getInteger(jakarta.servlet.http.HttpServletRequest httpServletRequest, String param, int defaultValue)
     
    static long
    getLong(jakarta.portlet.PortletRequest portletRequest, String param)
     
    static long
    getLong(jakarta.portlet.PortletRequest portletRequest, String param, long defaultValue)
     
    static long
    getLong(jakarta.servlet.http.HttpServletRequest httpServletRequest, String param)
     
    static long
    getLong(jakarta.servlet.http.HttpServletRequest httpServletRequest, String param, long defaultValue)
     
    static short
    getShort(jakarta.portlet.PortletRequest portletRequest, String param)
     
    static short
    getShort(jakarta.portlet.PortletRequest portletRequest, String param, short defaultValue)
     
    static short
    getShort(jakarta.servlet.http.HttpServletRequest httpServletRequest, String param)
     
    static short
    getShort(jakarta.servlet.http.HttpServletRequest httpServletRequest, String param, short defaultValue)
     
    static String
    getString(jakarta.portlet.PortletRequest portletRequest, String param)
     
    static String
    getString(jakarta.portlet.PortletRequest portletRequest, String param, String defaultValue)
     
    static String
    getString(jakarta.servlet.http.HttpServletRequest httpServletRequest, String param)
     
    static String
    getString(jakarta.servlet.http.HttpServletRequest httpServletRequest, String param, String defaultValue)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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

      public static boolean getBoolean(jakarta.portlet.PortletRequest portletRequest, String param)
    • 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

      public static double getDouble(jakarta.servlet.http.HttpServletRequest httpServletRequest, String param, double defaultValue, Locale locale)
    • getDouble

      public static double getDouble(jakarta.servlet.http.HttpServletRequest httpServletRequest, String param, Locale locale)
    • getDouble

      public static double getDouble(jakarta.portlet.PortletRequest portletRequest, String param)
    • getDouble

      public static double getDouble(jakarta.portlet.PortletRequest portletRequest, String param, double defaultValue)
    • getDouble

      public static double getDouble(jakarta.portlet.PortletRequest portletRequest, String param, double defaultValue, Locale locale)
    • getDouble

      public static double getDouble(jakarta.portlet.PortletRequest portletRequest, String param, Locale locale)
    • 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

      public static int getInteger(jakarta.portlet.PortletRequest portletRequest, String param)
    • 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

      public static long getLong(jakarta.portlet.PortletRequest portletRequest, String param)
    • 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

      public static short getShort(jakarta.portlet.PortletRequest portletRequest, String param)
    • getShort

      public static short getShort(jakarta.portlet.PortletRequest portletRequest, String param, short defaultValue)
    • getString

      public static String getString(jakarta.servlet.http.HttpServletRequest httpServletRequest, String param)
    • getString

      public static String getString(jakarta.servlet.http.HttpServletRequest httpServletRequest, String param, String defaultValue)
    • getString

      public static String getString(jakarta.portlet.PortletRequest portletRequest, String param)
    • getString

      public static String getString(jakarta.portlet.PortletRequest portletRequest, String param, String defaultValue)