|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecteu.webtoolkit.jwt.servlet.UploadedFile
public class UploadedFile
Details about a file uploaded with a request to a resource.
WResource.handleRequest(WebRequest request, WebResponse response)| Method Summary | |
|---|---|
java.lang.String |
getClientFileName()
Returns the client file name. |
java.lang.String |
getContentType()
Returns the file content type. |
java.lang.String |
getSpoolFileName()
Return the spool file name. |
void |
stealSpoolFile()
Steals the uploaded spool file. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public java.lang.String getSpoolFileName()
This is the location on the local (server) filesystem where the uploaded
file is temporarily stored. Unless you call
stealSpoolFile(), this file is
deleted automatically.
public java.lang.String getClientFileName()
This is the location that was indicated by the browser. Depending on the browser this is an absolute path or only the file name.
public java.lang.String getContentType()
Returns the content mime-type that was sent along with the uploaded file.
public void stealSpoolFile()
By stealing the spooled file, it is no longer automatically deleted by Wt.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||