Class ImageServlet
- java.lang.Object
-
- jakarta.servlet.GenericServlet
-
- jakarta.servlet.http.HttpServlet
-
- net.sf.jasperreports.jakarta.servlets.BaseHttpServlet
-
- net.sf.jasperreports.jakarta.servlets.ImageServlet
-
- All Implemented Interfaces:
jakarta.servlet.Servlet
,jakarta.servlet.ServletConfig
,Serializable
public class ImageServlet extends BaseHttpServlet
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
IMAGE_NAME_REQUEST_PARAMETER
-
Fields inherited from class net.sf.jasperreports.jakarta.servlets.BaseHttpServlet
BUFFERED_OUTPUT_REQUEST_PARAMETER, DEFAULT_JASPER_PRINT_LIST_SESSION_ATTRIBUTE, DEFAULT_JASPER_PRINT_SESSION_ATTRIBUTE, JASPER_PRINT_LIST_REQUEST_PARAMETER, JASPER_PRINT_REQUEST_PARAMETER
-
-
Constructor Summary
Constructors Constructor Description ImageServlet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected byte[]
process(Renderable renderer, Dimension dimension, Color backcolor)
void
service(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response)
-
Methods inherited from class net.sf.jasperreports.jakarta.servlets.BaseHttpServlet
getJasperPrintList, getJasperReportsContext
-
Methods inherited from class jakarta.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, init, service
-
-
-
-
Field Detail
-
IMAGE_NAME_REQUEST_PARAMETER
public static final String IMAGE_NAME_REQUEST_PARAMETER
- See Also:
- Constant Field Values
-
-
Method Detail
-
service
public void service(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) throws IOException, jakarta.servlet.ServletException
- Overrides:
service
in classjakarta.servlet.http.HttpServlet
- Throws:
IOException
jakarta.servlet.ServletException
-
process
protected byte[] process(Renderable renderer, Dimension dimension, Color backcolor) throws JRException
- Throws:
JRException
-
-