de.fhg.igd.gps.servlets
Class GPSServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
de.fhg.igd.semoa.web.servlet.ImageServlet
de.fhg.igd.gps.servlets.GPSServlet
- All Implemented Interfaces:
- Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
- public class GPSServlet
- extends ImageServlet
This servlet class provides maps according
to the current location (given by the GPSService).
Called via the registered URL, this servlet supports
the following parameters:
- reset
- resethistory
- fit
- focus
- history
- map =
- width =
- height =
- radius =
- deltax =
- deltay =
- zoom =
- pos =
- See Also:
- Serialized Form
Fields inherited from class javax.servlet.http.HttpServlet |
|
Fields inherited from class javax.servlet.GenericServlet |
|
Methods inherited from class javax.servlet.http.HttpServlet |
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service |
Methods inherited from class javax.servlet.GenericServlet |
destroy, 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 |
MR_MAPBLAST
public static final String MR_MAPBLAST
- See Also:
- Constant Field Values
MR_DA1
public static final String MR_DA1
- See Also:
- Constant Field Values
MR_DA2
public static final String MR_DA2
- See Also:
- Constant Field Values
MR_DA3
public static final String MR_DA3
- See Also:
- Constant Field Values
currentLocation_
protected WGS84Coordinate currentLocation_
mapRequester_
protected SortedMap mapRequester_
gps_
protected GPSService gps_
mapInfo_
protected MapInfo mapInfo_
history_
protected boolean history_
focus_
protected boolean focus_
fit_
protected boolean fit_
width_
protected int width_
height_
protected int height_
GPSServlet
public GPSServlet()
getCacheLifespan
protected long getCacheLifespan()
- Overrides:
getCacheLifespan
in class ImageServlet
init
public void init(javax.servlet.ServletConfig servletConfig)
throws javax.servlet.ServletException
- Specified by:
init
in interface javax.servlet.Servlet
- Overrides:
init
in class ImageServlet
- Throws:
javax.servlet.ServletException
reset
protected void reset()
markCurrentLocation
protected boolean markCurrentLocation(WGS84Coordinate location,
MapInfo info,
BufferedImage image,
Color color)
imageHasChanged
public boolean imageHasChanged(javax.servlet.http.HttpServletRequest request)
- Specified by:
imageHasChanged
in class ImageServlet
createImage
public BufferedImage createImage(javax.servlet.http.HttpServletRequest request)
- Specified by:
createImage
in class ImageServlet
Copyright © Fraunhofer Gesellschaft. All
Rights Reserved.