| 程序包 | 说明 |
|---|---|
| top.lshaci.framework.web.enums | |
| top.lshaci.framework.web.utils |
| 限定符和类型 | 方法和说明 |
|---|---|
static ResponseContentType |
ResponseContentType.valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static ResponseContentType[] |
ResponseContentType.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
| 限定符和类型 | 方法和说明 |
|---|---|
static void |
DownloadUtils.download(String downloadName,
ResponseContentType contentType,
ByteArrayOutputStream outputStream,
javax.servlet.http.HttpServletResponse response)
Download file
|
static void |
DownloadUtils.download(String downloadName,
ResponseContentType contentType,
FileInputStream fileInputStream,
javax.servlet.http.HttpServletResponse response)
Download file
|
static void |
DownloadUtils.download(String downloadName,
ResponseContentType contentType,
String filePath,
javax.servlet.http.HttpServletResponse response)
Download file
|
Copyright © 2019. All rights reserved.