| java.lang.Object org.outerj.daisy.frontend.RequestUtil
RequestUtil | public class RequestUtil (Code) | | |
Method Summary | |
public static boolean | getBooleanParameter(Request request, String paramName, boolean defaultValue) | public static long | getBranchId(Request request, long defaultBranchId, Repository repository) | public static long | getBranchId(String branch, long defaultBranchId, Repository repository) | public static int | getIntParameter(Request request, String paramName) | public static int | getIntParameter(Request request, String paramName, int defaultValue) | public static long | getLanguageId(Request request, long defaultLanguageId, Repository repository) | public static long | getLanguageId(String language, long defaultLanguageId, Repository repository) | public static long | getLongParameter(Request request, String paramName) | public static long | getLongParameter(Request request, String paramName, long defaultValue) | public static String | getServer(Request request) | public static String | getStringParameter(Request request, String paramName) | public static String | getStringParameter(Request request, String paramName, String defaultValue) | public static String | removePathFromUploadFileName(String fileName) Some browser (Internet Explorer is one) provide the complete file path in
the upload file name, this method strips that. |
getBooleanParameter | public static boolean getBooleanParameter(Request request, String paramName, boolean defaultValue) throws Exception(Code) | | |
getBranchId | public static long getBranchId(Request request, long defaultBranchId, Repository repository) throws Exception(Code) | | |
getIntParameter | public static int getIntParameter(Request request, String paramName) throws Exception(Code) | | |
getIntParameter | public static int getIntParameter(Request request, String paramName, int defaultValue) throws Exception(Code) | | |
getLanguageId | public static long getLanguageId(Request request, long defaultLanguageId, Repository repository) throws Exception(Code) | | |
getLongParameter | public static long getLongParameter(Request request, String paramName) throws Exception(Code) | | |
getLongParameter | public static long getLongParameter(Request request, String paramName, long defaultValue) throws Exception(Code) | | |
getServer | public static String getServer(Request request)(Code) | | |
removePathFromUploadFileName | public static String removePathFromUploadFileName(String fileName)(Code) | | Some browser (Internet Explorer is one) provide the complete file path in
the upload file name, this method strips that.
|
|
|