public class LocationServlet
extends HttpServlet
QuadTree
with this
information, making it queryable for callers.Constructor and Description |
---|
LocationServlet() |
Modifier and Type | Method and Description |
---|---|
void |
doGet(HttpServletRequest request,
HttpServletResponse response)
Provide GET requests for Bounding-box and Point-radius search queries.
|
void |
doPost(HttpServletRequest request,
HttpServletResponse response)
Provide Post requests for build GeoRSS data html file.
|
void |
init(ServletConfig config)
Read GeoRSS data (location information provide sis-location-config.xml )
and build quad-tree.
|
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
public void init(ServletConfig config) throws ServletException
init
in interface Servlet
init
in class GenericServlet
config
- Servlet configuration fileServletException
- General exception for servletpublic void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
doGet
in class HttpServlet
request
- Http Servlet Requestresponse
- Http Servlet ResponseServletException
- General exception for servletIOException
- General exception for I/Opublic void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
doPost
in class HttpServlet
request
- Http Servlet Requestresponse
- Http Servlet ResponseServletException
- General exception for servletIOException
- General exception for I/OCopyright © 2010–2017 The Apache Software Foundation. All rights reserved.