Class AbstractXlsServlet
- java.lang.Object
-
- javax.servlet.GenericServlet
-
- javax.servlet.http.HttpServlet
-
- net.sf.jasperreports.j2ee.servlets.BaseHttpServlet
-
- net.sf.jasperreports.j2ee.servlets.AbstractXlsServlet
-
- All Implemented Interfaces:
Serializable
,javax.servlet.Servlet
,javax.servlet.ServletConfig
- Direct Known Subclasses:
XlsServlet
,XlsxServlet
public abstract class AbstractXlsServlet extends BaseHttpServlet
- Author:
- Ionut Nedelcu (ionutned@users.sourceforge.net)
- See Also:
- Serialized Form
-
-
Field Summary
-
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 AbstractXlsServlet()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected String
getResponseContentType()
protected abstract JRXlsAbstractExporter<XlsReportConfiguration,XlsExporterConfiguration,JRXlsExporterContext>
getXlsExporter()
void
service(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
protected void
setResponseHeader(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
-
-
-
-
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
-
getXlsExporter
protected abstract JRXlsAbstractExporter<XlsReportConfiguration,XlsExporterConfiguration,JRXlsExporterContext> getXlsExporter()
-
getResponseContentType
protected String getResponseContentType()
-
setResponseHeader
protected void setResponseHeader(javax.servlet.http.HttpServletResponse response)
-
-