@Controller public class CoreExcelController extends BaseController
DOWNLOAD_ID_COOKIE_EXPIRY, DOWNLOAD_ID_NAME
构造器和说明 |
---|
CoreExcelController() |
限定符和类型 | 方法和说明 |
---|---|
void |
export(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
导出文件
|
void |
exportuserdef(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
用户自定义导出
|
commonsDownloadEx, commonsUploadEx, getUploadNewFileName, setResponseContentType, setResponseContentTypeAndStatus, setResponseHttpStatus, writeJsonToResponse
@RequestMapping(value="core/excel/export", method=POST) public void export(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.io.IOException, java.lang.InterruptedException
request
- 请求对象response
- 相应对象java.io.IOException
- 出错抛出异常java.lang.InterruptedException
- 出错抛出异常@RequestMapping(value="core/excel/exportuserdef", method=POST) public void exportuserdef(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.lang.Exception
request
- 请求对象response
- 相应对象java.lang.Exception
- 出错会抛出异常