|
rewrite-integration-gwt 2.0.0.Alpha6 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ocpsoft.rewrite.servlet.util.ContextUtil
public class ContextUtil
Utility method for easily interacting with the ServletContext
| Constructor Summary | |
|---|---|
ContextUtil()
|
|
| Method Summary | |
|---|---|
static String |
getInitParam(javax.servlet.ServletContext context,
String name)
Retrieve the named context-parameter from the given ServletContext. |
static String |
getInitParam(javax.servlet.ServletContext context,
String name,
String deflt)
Retrieve the named context-parameter from the given ServletContext. |
static boolean |
getInitParamBoolean(javax.servlet.ServletContext context,
String name)
Retrieve the named context-parameter from the given ServletContext. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ContextUtil()
| Method Detail |
|---|
public static boolean getInitParamBoolean(javax.servlet.ServletContext context,
String name)
ServletContext. If the parameter is not defined,
return false, otherwise return the value as a boolean. If the value cannot be converted to a boolean type, return
false.
public static String getInitParam(javax.servlet.ServletContext context,
String name)
ServletContext. If the parameter is not defined,
return null.
public static String getInitParam(javax.servlet.ServletContext context,
String name,
String deflt)
ServletContext. If the parameter is not defined,
return the default value instead.
|
rewrite-integration-gwt 2.0.0.Alpha6 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||