Class ImageServlet
- java.lang.Object
-
- javax.servlet.GenericServlet
-
- javax.servlet.http.HttpServlet
-
- net.sf.jasperreports.j2ee.servlets.BaseHttpServlet
-
- net.sf.jasperreports.j2ee.servlets.ImageServlet
-
- All Implemented Interfaces:
Serializable
,javax.servlet.Servlet
,javax.servlet.ServletConfig
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.j2ee.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(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
-
Methods inherited from class net.sf.jasperreports.j2ee.servlets.BaseHttpServlet
getJasperPrintList, getJasperReportsContext
-
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, 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(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws IOException, javax.servlet.ServletException
- Overrides:
service
in classjavax.servlet.http.HttpServlet
- Throws:
IOException
javax.servlet.ServletException
-
process
protected byte[] process(Renderable renderer, Dimension dimension, Color backcolor) throws JRException
- Throws:
JRException
-
-