org.vfny.geoserver.config
Class ConfigRequests

java.lang.Object
  extended byorg.vfny.geoserver.config.ConfigRequests

public class ConfigRequests
extends java.lang.Object

Utility methods for locatating Config classes in the Servlet context.

Called by ActionForms to lookup things in the WebContainer for the JSP page. Similar to the Requests utility classes.

These methods need to be kept in lockstep with the ConfigAction convience methods.


Constructor Summary
ConfigRequests()
           
 
Method Summary
static DataConfig getDataConfig(javax.servlet.http.HttpServletRequest request)
          Access Catalog Configuration Model from the WebContainer.
static GlobalConfig getGlobalConfig(javax.servlet.http.HttpServletRequest request)
          Access Web Map Server Configuration Model from the WebContainer.
static WFSConfig getWFSConfig(javax.servlet.http.HttpServletRequest request)
          Access Web Feature Server Configuration Model from the WebContainer.
static WMSConfig getWMSConfig(javax.servlet.http.HttpServletRequest request)
          Access Web Map Server Configuration Model from the WebContainer.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfigRequests

public ConfigRequests()
Method Detail

getWMSConfig

public static WMSConfig getWMSConfig(javax.servlet.http.HttpServletRequest request)
Access Web Map Server Configuration Model from the WebContainer.

Note that this represents the Configuration and not the state of the Web Feature Server.

Parameters:
request - DOCUMENT ME!
Returns:
Configuration information for the Web Map Server

getWFSConfig

public static WFSConfig getWFSConfig(javax.servlet.http.HttpServletRequest request)
Access Web Feature Server Configuration Model from the WebContainer.

Note that this represents the Configuration and not the state of the Web Feature Server.

Parameters:
request - DOCUMENT ME!
Returns:
Configuration information for Web Feature Server

getGlobalConfig

public static GlobalConfig getGlobalConfig(javax.servlet.http.HttpServletRequest request)
Access Web Map Server Configuration Model from the WebContainer.

Parameters:
request - DOCUMENT ME!
Returns:
Configuration model for Global information.

getDataConfig

public static DataConfig getDataConfig(javax.servlet.http.HttpServletRequest request)
Access Catalog Configuration Model from the WebContainer.

Parameters:
request - DOCUMENT ME!
Returns:
Configuration model for Catalog information.