mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-04-19 03:01:48 +08:00
fixup! getFileNameFromDisposition access public
This commit is contained in:
parent
834d466879
commit
3d2310ba96
@ -626,7 +626,7 @@ public class HttpResponse extends HttpBase<HttpResponse> implements Closeable {
|
||||
*
|
||||
* @return 文件名,empty表示无
|
||||
*/
|
||||
private String getFileNameFromDisposition() {
|
||||
public String getFileNameFromDisposition() {
|
||||
return getFileNameFromDisposition("filename");
|
||||
}
|
||||
|
||||
@ -636,7 +636,7 @@ public class HttpResponse extends HttpBase<HttpResponse> implements Closeable {
|
||||
*
|
||||
* @return 文件名,empty表示无
|
||||
*/
|
||||
private String getFileNameFromDisposition(String paramName) {
|
||||
public String getFileNameFromDisposition(String paramName) {
|
||||
String fileName = null;
|
||||
final String disposition = header(Header.CONTENT_DISPOSITION);
|
||||
if (StrUtil.isNotBlank(disposition)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user