|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--javax.servlet.GenericServlet
|
+--javax.servlet.http.HttpServlet
|
+--edu.ucsb.adl.middleware.FootprintServlet
Displays a footprint on a base map. This servlet is invoked by an
HTTP GET request containing four parameters, north,
south, east, and west,
defining the boundaries of the footprint to display in signed
decimal degrees north of the equator and east of the Greenwich
meridian. If the URL of this servlet is S, then an example
of a complete URL might be:
S?north=35.0&south=30.0&east=-115.0&west=-130.0
The return is a 360×180 JPEG image.
The following initialization parameter is required:
base_map_url/"), it is interpreted
relative to the containing servlet context (i.e., the containing
web application). The base map dimensions must be
360×180.status.map_server_url) and the Bucket99 driver's
status servlet (cf. the bucket99-status servlet's
map_server_url initialization parameter).
$Log: FootprintServlet.java,v $ Revision 1.1 2006/12/12 18:37:56 gjanee Initial revision
| Constructor Summary | |
FootprintServlet()
|
|
| Method Summary | |
void |
destroy()
Frees all resources held by the servlet. |
void |
doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Displays a footprint on a base map. |
void |
init(javax.servlet.ServletConfig config)
Initializes the servlet. |
| Methods inherited from class javax.servlet.http.HttpServlet |
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service |
| Methods inherited from class javax.servlet.GenericServlet |
getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public FootprintServlet()
| Method Detail |
public void init(javax.servlet.ServletConfig config)
throws javax.servlet.ServletException
init in interface javax.servlet.Servletinit in class javax.servlet.GenericServletconfig - Source for the above-mentioned initialization parameter.
javax.servlet.UnavailableException - If the initialization fails.
javax.servlet.ServletException
public void doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.io.IOException
doGet in class javax.servlet.http.HttpServletrequest - The HTTP request.response - The HTTP response, which is a JPEG image.
java.io.IOException - On any I/O error.public void destroy()
destroy in interface javax.servlet.Servletdestroy in class javax.servlet.GenericServlet
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||