| Modifier and Type | Method and Description |
|---|---|
| public boolean | Returns: true when the stream is cancelled, otherwise it means that stream is finishedTry to cancel the file system streaming, the streamed file will be deleted. |
| public String | |
| public String | |
| public String | |
| public HttpServerFileUpload | |
| public HttpServerFileUpload | |
| public HttpServerFileUpload | fetch(long amount)
Redeclares io. Fetch the specified |
| public AsyncFile | Returns: the async uploaded file whenstreamToFileSystem has been used and the file is available
|
| public String | |
| public HttpServerFileUpload | |
| public boolean | |
| public String | |
| public HttpServerFileUpload | pause()
Redeclares io. Pause the |
| public HttpServerFileUpload | resume()
Redeclares io. Resume reading, and sets the buffer in |
| public long | Returns: the size of the upload (in bytes)The size of the upload may not be available until it is all read. |
| public void | streamToFileSystem(String
the name of the file filename, Handler<AsyncResult<Void>> handler)Stream the content of this upload to the given file on storage. |
| public Future | streamToFileSystem(String
the name of the file filename)Stream the content of this upload to the given file on storage. |
| cancelStreamToFileSystem | back to summary |
|---|---|
| public boolean cancelStreamToFileSystem() throws IllegalStateException Try to cancel the file system streaming, the streamed file will be deleted.
| |
| charset | back to summary |
|---|---|
public String charset()
| |
| contentTransferEncoding | back to summary |
|---|---|
public String contentTransferEncoding()
| |
| contentType | back to summary |
|---|---|
public String contentType()
| |
| endHandler | back to summary |
|---|---|
public HttpServerFileUpload endHandler(Handler<Void> endHandler)
| |
| exceptionHandler | back to summary |
|---|---|
public HttpServerFileUpload exceptionHandler(Handler<Throwable> handler)
| |
| fetch | back to summary |
|---|---|
| public HttpServerFileUpload fetch(long amount) Redeclares io. Doc from io. Fetch the specified
| |
| file | back to summary |
|---|---|
public AsyncFile file()
| |
| filename | back to summary |
|---|---|
public String filename()
| |
| handler | back to summary |
|---|---|
public HttpServerFileUpload handler(Handler<Buffer> handler)
| |
| isSizeAvailable | back to summary |
|---|---|
public boolean isSizeAvailable()
| |
| name | back to summary |
|---|---|
public String name()
| |
| pause | back to summary |
|---|---|
| public HttpServerFileUpload pause() Redeclares io. Doc from io. Pause the
While it's paused, no data will be sent to the data
| |
| resume | back to summary |
|---|---|
| public HttpServerFileUpload resume() Redeclares io. Doc from io. Resume reading, and sets the buffer in
If the
| |
| size | back to summary |
|---|---|
| public long size() The size of the upload may not be available until it is all read.
Check
| |
| streamToFileSystem | back to summary |
|---|---|
| public void streamToFileSystem(String filename, Handler<AsyncResult<Void>> handler) Stream the content of this upload to the given file on storage.
| |
| streamToFileSystem | back to summary |
|---|---|
| public Future Stream the content of this upload to the given file on storage. If the stream has a failure or is cancelled the created file will be deleted.
| |