Class AnnotationImageServlet
java.lang.Object
jakarta.servlet.GenericServlet
jakarta.servlet.http.HttpServlet
com.levigo.jadice.web.conn.server.AbstractDownloadServlet
com.levigo.jadice.web.conn.server.AnnotationImageServlet
- All Implemented Interfaces:
jakarta.servlet.Servlet
,jakarta.servlet.ServletConfig
,Serializable
@WebServlet(description="Servlet handling annotation image requests",
displayName="jadice web toolkit annotation image download",
name="jwtAnnotationImageDownloadServlet",
urlPatterns="/jwt/resource/*")
public class AnnotationImageServlet
extends AbstractDownloadServlet
This servlet handles annotation image requests. The requests must match the pattern <base
URL> + "jwt/resource?p" + <annotation profile name> + "i=" + <image identifier>.
Whereas
- <image identifier> is the identifier that references the image
- <annotation profile name> is the name of the profile, in which the image annotation is defined
- See Also:
-
Field Summary
Fields inherited from class jakarta.servlet.http.HttpServlet
LEGACY_DO_HEAD
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
getData
(jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse resp) Methods inherited from class com.levigo.jadice.web.conn.server.AbstractDownloadServlet
doGet, logClientClosedException
Methods inherited from class jakarta.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPatch, doPost, doPut, doTrace, getLastModified, init, isSensitiveHeader, service, service
Methods inherited from class jakarta.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
-
Constructor Details
-
AnnotationImageServlet
public AnnotationImageServlet()
-
-
Method Details
-
getData
protected void getData(jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse resp) throws IndexOutOfBoundsException, IOException - Specified by:
getData
in classAbstractDownloadServlet
- Throws:
IndexOutOfBoundsException
IOException
-