Example usage for Java javax.servlet.http Part fields, constructors, methods, implement or subclass
The text is from its open source code.
void | delete() Deletes the underlying storage for a file item, including deleting any associated temporary disk file. |
Class> | getClass() Returns the runtime class of this Object . |
String | getContentType() Gets the content type of this part. |
String | getHeader(String name) Returns the value of the specified mime header as a String . |
InputStream | getInputStream() Gets the content of this part as an InputStream |
String | getName() Gets the name of this part |
long | getSize() Returns the size of this fille. |
String | getSubmittedFileName() Gets the file name specified by the client |
void | write(String fileName) A convenience method to write this uploaded item to disk. |