mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-05-09 23:51:34 +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表示无
|
* @return 文件名,empty表示无
|
||||||
*/
|
*/
|
||||||
private String getFileNameFromDisposition() {
|
public String getFileNameFromDisposition() {
|
||||||
return getFileNameFromDisposition("filename");
|
return getFileNameFromDisposition("filename");
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -636,7 +636,7 @@ public class HttpResponse extends HttpBase<HttpResponse> implements Closeable {
|
|||||||
*
|
*
|
||||||
* @return 文件名,empty表示无
|
* @return 文件名,empty表示无
|
||||||
*/
|
*/
|
||||||
private String getFileNameFromDisposition(String paramName) {
|
public String getFileNameFromDisposition(String paramName) {
|
||||||
String fileName = null;
|
String fileName = null;
|
||||||
final String disposition = header(Header.CONTENT_DISPOSITION);
|
final String disposition = header(Header.CONTENT_DISPOSITION);
|
||||||
if (StrUtil.isNotBlank(disposition)) {
|
if (StrUtil.isNotBlank(disposition)) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user