| java.lang.Object net.myvietnam.mvncore.util.GenericParamUtil
GenericParamUtil | final public class GenericParamUtil (Code) | | |
Method Summary | |
public static String | getAttribute(HttpSession session, String name) | public static String | getAttribute(GenericRequest request, String name) | public static String | getParameter(GenericRequest request, String param) | public static String | getParameter(GenericRequest request, String param, boolean checkEmpty) | public static boolean | getParameterBoolean(GenericRequest request, String param) | public static byte | getParameterByte(GenericRequest request, String param) | public static java.sql.Date | getParameterDate(GenericRequest request, String param) | public static java.sql.Date | getParameterDate(GenericRequest request, String paramDay, String paramMonth, String paramYear) | public static java.sql.Date | getParameterDateSafe(GenericRequest request, String paramDay, String paramMonth, String paramYear) | public static java.util.Date | getParameterDateUtil(GenericRequest request, String param) | public static double | getParameterDouble(GenericRequest request, String param) | public static String | getParameterEmail(GenericRequest request, String param) | public static String | getParameterFilter(GenericRequest request, String param) | public static String | getParameterFilter(GenericRequest request, String param, boolean checkEmpty) | public static int | getParameterInt(GenericRequest request, String param) | public static int | getParameterInt(GenericRequest request, String param, int defaultValue) | public static long | getParameterLong(GenericRequest request, String param) | public static long | getParameterLong(GenericRequest request, String param, long defaultValue) | public static String | getParameterPassword(GenericRequest request, String param, int minLength, int option) | public static String | getParameterSafe(GenericRequest request, String param, boolean checkEmpty) | public static double | getParameterTimeZone(GenericRequest request, String param) | public static int | getParameterUnsignedInt(GenericRequest request, String param) | public static int | getParameterUnsignedInt(GenericRequest request, String param, int defaultValue) | public static String | getParameterUrl(GenericRequest request, String param) |
getAttribute | public static String getAttribute(GenericRequest request, String name)(Code) | | Note: sometime in the dispatched request, we dont receive HttpServletRequest
but receive ServletRequest, such as com.caucho.server.webapp.DispatchRequest
Parameters: request - ServletRequest Parameters: name - String String |
getParameterBoolean | public static boolean getParameterBoolean(GenericRequest request, String param)(Code) | | Parameters: param - is the name of variable true if the value of param is not empty |
|
|