@FunctionalInterface public interface ContentDispositionHandler
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getContentDisposition(javax.servlet.http.HttpServletRequest request,
String filename)
编码文件,防止乱码
|
String getContentDisposition(javax.servlet.http.HttpServletRequest request, String filename) throws UnsupportedEncodingException
request - 请求filename - 文件名UnsupportedEncodingException - 编码异常Copyright © 2018. All rights reserved.