| java.lang.Object org.vfny.geoserver.util.requests.readers.DispatcherXmlReader
DispatcherXmlReader | public class DispatcherXmlReader (Code) | | This reads in a request and figures out what servlet to dispatch it to.
This does not extend XmlRequestReader, since it does not actually create
the Request, it is just used to pass on the request to a service that can
make the request. The Reader passed in should never be the one directly
from the HttpServletRequest, if that is used then the next xml reader to
get the request will not work. A new BufferedReader should be constructed
from the reader of HttpServletRequest, and its mark should be set and then
reset after this reader is done with it. Nothing else seems to work, for
some reason.
In an ideal, refactored world we would implement our handlers better, and
the xml reader could dynamically figure out which handler to pass it to.
But we have no time for that now, so we'll just live with this.
author: Chris Holmes version: $Id: DispatcherXmlReader.java 8179 2008-01-16 16:56:48Z groldan $ |
DispatcherXmlReader | public DispatcherXmlReader()(Code) | | |
getRequest | public String getRequest()(Code) | | The request, GetCapabilities,GetMap,etc... |
getService | public String getService()(Code) | | The service, WFS,WMS,WCS,etc... |
|
|