|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.directwebremoting.extend.ContainerUtil
public class ContainerUtil
An abstraction of all the common servlet operations that are required to host a DWR service that depends on the servlet spec. It would be good to have a base class for all servlet operations, however lack of MI prevents us from doing this.
| Constructor Summary | |
|---|---|
ContainerUtil()
|
|
| Method Summary | |
|---|---|
static boolean |
getBooleanSetting(Container container,
java.lang.String name,
boolean defaultValue)
Get an boolean setting from the Container. |
static Handler |
getHandlerForUrlProperty(Container container,
java.lang.String property)
Look up the Handler associated with the URL in the named URL property. |
static int |
getIntSetting(Container container,
java.lang.String name,
int defaultValue)
Get an integer setting from the Container. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ContainerUtil()
| Method Detail |
|---|
public static boolean getBooleanSetting(Container container,
java.lang.String name,
boolean defaultValue)
container - The container to look intoname - The name of the setting to investigatedefaultValue - The value to return if none is given
public static int getIntSetting(Container container,
java.lang.String name,
int defaultValue)
container - The container to look intoname - The name of the setting to investigatedefaultValue - The value to return if none is given
public static Handler getHandlerForUrlProperty(Container container,
java.lang.String property)
container - The container to look intoproperty - a URL property name known by the container (usually
declared in defaults.properties)
|
Copyright ยจ 2008 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||