Class TrackTileServlet
java.lang.Object
jakarta.servlet.GenericServlet
jakarta.servlet.http.HttpServlet
org.deltava.servlet.GenericServlet
org.deltava.servlet.TileServlet
org.deltava.servlet.TrackTileServlet
- All Implemented Interfaces:
jakarta.servlet.Servlet, jakarta.servlet.ServletConfig, Serializable
A servlet to display ACARS track tiles.
- Since:
- 5.0
- Version:
- 12.0
- Author:
- Luke
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class TileServlet
TileServlet.TileAddress5DModifier and TypeClassDescriptionprotected classA class to store Tile Addresses including type name and date.Nested classes/interfaces inherited from class GenericServlet
GenericServlet.ForbiddenException, GenericServlet.NotFoundException, GenericServlet.ServletSecurityContextModifier and TypeClassDescriptionprotected final classController exception to handle 403s.protected final classController exception to handle 404s.protected classSecurity Context for use within servlets. -
Field Summary
Fields inherited from class TileServlet
EMPTYFields inherited from class jakarta.servlet.http.HttpServlet
LEGACY_DO_HEAD -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddoGet(jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse rsp) Processes HTTP GET requests for images.Methods inherited from class TileServlet
getTileAddress, init, writeTileModifier and TypeMethodDescriptionprotected TileServlet.TileAddress5DgetTileAddress(String uri, boolean getDate) Parses a URI to get the five-dimensional tile address.voidinit()Initializes the servlet and loads an empty tile buffer.protected static voidwriteTile(jakarta.servlet.http.HttpServletResponse rsp, byte[] data) Helper method to dump the tile data to the output stream.Methods inherited from class GenericServlet
getURLMethods inherited from class jakarta.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPatch, doPost, doPut, doTrace, getLastModified, init, isSensitiveHeader, service, serviceMethods inherited from class jakarta.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletName, log, log
-
Constructor Details
-
TrackTileServlet
public TrackTileServlet()
-
-
Method Details
-
getServletInfo
- Specified by:
getServletInfoin interfacejakarta.servlet.Servlet- Overrides:
getServletInfoin classjakarta.servlet.GenericServlet
-
doGet
public void doGet(jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse rsp) throws IOException Processes HTTP GET requests for images.- Overrides:
doGetin classjakarta.servlet.http.HttpServlet- Parameters:
req- the HTTP requestrsp- the HTTP response- Throws:
IOException- if a network I/O error occurs
-