| javax.servlet.http.HttpServlet org.vfny.geoserver.servlets.Dispatcher
All known Subclasses: org.vfny.geoserver.wcs.servlets.WcsDispatcher, org.vfny.geoserver.wms.servlets.WmsDispatcher,
Dispatcher | public class Dispatcher extends HttpServlet (Code) | | Routes requests made at the top-level URI to appropriate interface servlet.
Note that the logic of this method could be generously described as
'loose.' It is not checking for request validity in any way (this is done
by the reqeust- specific servlets). Rather, it is attempting to make a
reasonable guess as to what servlet to call, given that the client is
routing to the top level URI as opposed to the request-specific URI, as
specified in the GetCapabilities response. Thus, this is a convenience
method, which allows for some slight client laziness and helps explain to
lost souls/spiders what lives at the URL. Due to the string parsing, it is
much faster (and recommended) to use the URIs specified in the
GetCapabablities response.
author: Rob Hranac, Vision for New York author: Chris Holmes, TOPP version: $Id: Dispatcher.java 7746 2007-11-13 15:38:35Z aaime $ |
DESCRIBE_FEATURE_TYPE_REQUEST | final public static int DESCRIBE_FEATURE_TYPE_REQUEST(Code) | | Map describe feature type request type
|
DESCRIBE_LAYER_REQUEST | final public static int DESCRIBE_LAYER_REQUEST(Code) | | WMS DescribeLayer request type
|
ERROR | final public static int ERROR(Code) | | Map get feature request type
|
GET_CAPABILITIES_REQUEST | final public static int GET_CAPABILITIES_REQUEST(Code) | | Map get capabilities request type
|
GET_FEATURE_INFO_REQUEST | final public static int GET_FEATURE_INFO_REQUEST(Code) | | WMS get feature info request type
|
GET_FEATURE_LOCK_REQUEST | final public static int GET_FEATURE_LOCK_REQUEST(Code) | | Map get feature with lock request type
|
GET_FEATURE_REQUEST | final public static int GET_FEATURE_REQUEST(Code) | | Map get feature request type
|
GET_LEGEND_GRAPHIC_REQUEST | final public static int GET_LEGEND_GRAPHIC_REQUEST(Code) | | WMS GetLegendGraphic request type
|
GET_MAP_REQUEST | final public static int GET_MAP_REQUEST(Code) | | Map get capabilities request type
|
LOCK_REQUEST | final public static int LOCK_REQUEST(Code) | | int representation of a lock request type
|
META_REQUEST | public static String META_REQUEST(Code) | | Map metadata request type
|
TRANSACTION_REQUEST | final public static int TRANSACTION_REQUEST(Code) | | Map get feature request type
|
UNKNOWN | final public static int UNKNOWN(Code) | | Map get feature request type
|
WFS_SERVICE | final public static short WFS_SERVICE(Code) | | |
WMS_SERVICE | final public static short WMS_SERVICE(Code) | | |
Methods inherited from javax.servlet.http.HttpServlet | protected void doDelete(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected void doHead(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected void doOptions(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected void doPut(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected void doTrace(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected long getLastModified(HttpServletRequest req)(Code)(Java Doc) protected void service(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) public void service(ServletRequest req, ServletResponse res) throws ServletException, IOException(Code)(Java Doc)
|
|
|