org.utgenome.gwt.utgb.server.util
Class ServletUtil
java.lang.Object
org.utgenome.gwt.utgb.server.util.ServletUtil
public class ServletUtil
- extends Object
Utilities to handle servlet context
- Author:
- leo
Method Summary |
static String |
getParameter(javax.servlet.http.HttpServletRequest request,
String key,
String defalutValue)
Gets the http request parameter |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServletUtil
public ServletUtil()
getParameter
public static String getParameter(javax.servlet.http.HttpServletRequest request,
String key,
String defalutValue)
- Gets the http request parameter
- Parameters:
request
- the servlet requestkey
- the parameter keydefalutValue
- the default value to be returned when the requested parameter is not found
- Returns:
- the parameter value of the specified key.
Copyright © 2007-2012 utgenome.org. All Rights Reserved.