跳过导航链接
D F G O R S U 

D

downLoad(String, String, HttpServletResponse, HttpServletRequest) - 类 中的方法org.hswebframework.web.controller.file.FileController
通过文件ID下载已经上传的文件,支持断点下载 如: http://host:port/file/download/aSk2a/file.zip 将下载 ID为aSk2a的文件.并命名为file.zip
downloadTxt(String, String, HttpServletResponse) - 类 中的方法org.hswebframework.web.controller.file.FileController
构建一个文本文件,并下载.支持GET,POST请求
downloadZip(String, String, HttpServletResponse) - 类 中的方法org.hswebframework.web.controller.file.FileController
构建并下载zip文件.仅支持POST请求

F

FileController - org.hswebframework.web.controller.file中的类
文件操作控制器,提供文件上传下载等操作
FileController() - 类 的构造器org.hswebframework.web.controller.file.FileController
 
FileInfoController - org.hswebframework.web.controller.file中的类
文件信息
FileInfoController() - 类 的构造器org.hswebframework.web.controller.file.FileInfoController
 

G

getService() - 类 中的方法org.hswebframework.web.controller.file.FileInfoController
 

O

org.hswebframework.web.controller.file - 程序包 org.hswebframework.web.controller.file
 

R

restDownLoad(String, String, HttpServletResponse, HttpServletRequest) - 类 中的方法org.hswebframework.web.controller.file.FileController
使用restful风格,通过文件ID下载已经上传的文件,支持断点下载 如: http://host:port/file/download/aSk2a/file.zip 将下载 ID为aSk2a的文件.并命名为file.zip

S

setFileInfoService(FileInfoService) - 类 中的方法org.hswebframework.web.controller.file.FileController
 
setFileInfoService(FileInfoService) - 类 中的方法org.hswebframework.web.controller.file.FileInfoController
 
setFileService(FileService) - 类 中的方法org.hswebframework.web.controller.file.FileController
 

U

upload(MultipartFile[]) - 类 中的方法org.hswebframework.web.controller.file.FileController
上传文件,支持多文件上传.获取到文件流后,调用FileService.saveFile(InputStream, String, String, String)进行文件保存 上传成功后,将返回资源信息如:[{"id":"fileId","name":"fileName","md5":"md5"}]
upload(MultipartFile) - 类 中的方法org.hswebframework.web.controller.file.FileController
上传单个文件
uploadStatic(MultipartFile) - 类 中的方法org.hswebframework.web.controller.file.FileController
 
uploadStatic(String) - 类 中的方法org.hswebframework.web.controller.file.FileController
 
D F G O R S U 
跳过导航链接

Copyright © 2018. All rights reserved.