public class FileUploadHeader
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getContentDisposition()
Returns content disposition.
|
java.lang.String |
getContentType()
Returns uploaded content type.
|
java.lang.String |
getFileName()
Returns file name (base name and extension, without full path data).
|
java.lang.String |
getFormFieldName()
Returns form field name.
|
java.lang.String |
getFormFilename()
Returns complete file name as specified at client side.
|
java.lang.String |
getMimeSubtype()
Returns file sub type MIME.
|
java.lang.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.
This is true if header contains string 'filename'.public java.lang.String getFormFieldName()
public java.lang.String getFormFilename()
public java.lang.String getFileName()
public java.lang.String getContentType()
getMimeType()
,
getMimeSubtype()
public java.lang.String getMimeType()
public java.lang.String getMimeSubtype()
public java.lang.String getContentDisposition()
Copyright © 2003-present Jodd Team