Class AbstractXlsServlet
- java.lang.Object
-
- jakarta.servlet.GenericServlet
-
- jakarta.servlet.http.HttpServlet
-
- net.sf.jasperreports.jakarta.servlets.BaseHttpServlet
-
- net.sf.jasperreports.jakarta.servlets.AbstractXlsServlet
-
- All Implemented Interfaces:
jakarta.servlet.Servlet
,jakarta.servlet.ServletConfig
,Serializable
- 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.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 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(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response)
protected void
setResponseHeader(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
-
-
-
-
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
-
getXlsExporter
protected abstract JRXlsAbstractExporter<XlsReportConfiguration,XlsExporterConfiguration,JRXlsExporterContext> getXlsExporter()
-
getResponseContentType
protected String getResponseContentType()
-
setResponseHeader
protected void setResponseHeader(jakarta.servlet.http.HttpServletResponse response)
-
-