| javax.servlet.http.HttpServlet org.vfny.geoserver.servlets.Dispatcher org.vfny.geoserver.wms.servlets.WmsDispatcher
WmsDispatcher | public class WmsDispatcher extends Dispatcher (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. Currently does not support post requests, but
most requests for this will likely come with get.
author: Chris Holmes, TOPP version: $Id: WmsDispatcher.java 7746 2007-11-13 15:38:35Z aaime $ |
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)
|
|
|