public class UploadFileHeader extends Object
Modifier and Type | Method and Description |
---|---|
String |
getContentDisposition()
Returns content disposition.
|
String |
getContentType()
Returns uploaded content type.
|
String |
getFileName()
获取文件名,不包括路径
|
String |
getFormFieldName()
返回表单字段名
|
String |
getFormFileName()
返回表单中的文件名,来自客户端传入
|
String |
getMimeSubtype()
Returns file sub type MIME.
|
String |
getMimeType()
Returns file types MIME.
|
boolean |
isFile()
Returns
true if uploaded data are correctly marked as a file. |
public boolean isFile()
true
if uploaded data are correctly marked as a file.public String getFormFieldName()
public String getFormFileName()
public String getFileName()
public String getContentType()
getMimeType()
,
getMimeSubtype()
public String getMimeType()
public String getMimeSubtype()
public String getContentDisposition()
Copyright © 2024. All rights reserved.