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, servicepublic void init(ServletConfig config)
throws ServletException
init in interface Servletinit in class GenericServletconfig - Servlet configuration fileServletException - General exception for servletpublic void doGet(HttpServletRequest request,
HttpServletResponse response)
throws ServletException,
IOException
doGet in class HttpServletrequest - 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 HttpServletrequest - Http Servlet Requestresponse - Http Servlet ResponseServletException - General exception for servletIOException - General exception for I/OCopyright © 2010–2015 The Apache Software Foundation. All rights reserved.