public class PoiExcelView
extends org.springframework.web.servlet.view.document.AbstractXlsxView
| Modifier and Type | Class and Description |
|---|---|
static class |
PoiExcelView.ExcelSheetModel |
| Constructor and Description |
|---|
PoiExcelView() |
PoiExcelView(String downloadFileName,
PoiExcelView.ExcelSheetModel... models) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
buildExcelDocument(Map<String,Object> model,
org.apache.poi.ss.usermodel.Workbook workbook,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
createWorkbookgeneratesDownloadContent, renderMergedOutputModel, renderWorkbookaddStaticAttribute, createMergedOutputModel, createRequestContext, createTemporaryOutputStream, exposeModelAsRequestAttributes, formatViewName, getAttributesMap, getBeanName, getContentType, getRequestContextAttribute, getRequestToExpose, getStaticAttributes, isExposePathVariables, prepareResponse, render, setAttributes, setAttributesCSV, setAttributesMap, setBeanName, setContentType, setExposeContextBeansAsAttributes, setExposedContextBeanNames, setExposePathVariables, setRequestContextAttribute, setResponseContentType, toString, writeToResponsegetServletContext, getTempDir, getWebApplicationContext, initApplicationContext, initServletContext, isContextRequired, setServletContextpublic PoiExcelView()
public PoiExcelView(String downloadFileName, PoiExcelView.ExcelSheetModel... models)
protected void buildExcelDocument(Map<String,Object> model, org.apache.poi.ss.usermodel.Workbook workbook, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
buildExcelDocument in class org.springframework.web.servlet.view.document.AbstractXlsViewExceptionCopyright © 2020. All rights reserved.