public interface FileItem
multipart/form-data
POST request.Modifier and Type | Method and Description |
---|---|
void |
cleanup()
Cleanup resources if needed.
|
String |
getContentType()
Returns the content type passed by the browser or
null if
not defined. |
File |
getFile()
Returns an
File that can be used to retrieve the contents of the file. |
String |
getFileName()
Returns the original filename in the client's filesystem, as provided by
the browser (or other client software).
|
org.apache.commons.fileupload.FileItemHeaders |
getHeaders()
Returns the file item headers.
|
InputStream |
getInputStream()
Returns an
InputStream that can be
used to retrieve the contents of the file. |
String getFileName()
InputStream getInputStream()
InputStream
that can be
used to retrieve the contents of the file.String getContentType()
null
if
not defined.org.apache.commons.fileupload.FileItemHeaders getHeaders()
void cleanup()
Copyright © 2019 ninjaframework. All rights reserved.