| 程序包 | 说明 |
|---|---|
| org.noear.solon.core.handle | |
| org.noear.solon.core.util |
| 限定符和类型 | 类和说明 |
|---|---|
class |
UploadedFile
上传的文件模型(例:通过http上传的文件)
|
| 限定符和类型 | 方法和说明 |
|---|---|
DownloadedFile |
DownloadedFile.asAttachment(boolean attachment)
作为附件输出
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
Context.outputAsFile(DownloadedFile file)
输出为文件
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
RangeUtil.outputFile(Context ctx,
DownloadedFile file,
boolean asAttachment)
输出文件
|
Copyright © 2023. All rights reserved.