public interface HttpServerFileUpload extends ReadStream<HttpServerFileUpload>
Modifier and Type | Method and Description |
---|---|
java.nio.charset.Charset |
charset()
Returns the charset for the upload
|
java.lang.String |
contentTransferEncoding()
Returns the contentTransferEncoding for the upload
|
java.lang.String |
contentType()
Returns the contentType for the upload
|
java.lang.String |
filename()
Returns the filename which was used when upload the file.
|
java.lang.String |
name()
Returns the name of the attribute
|
long |
size()
Returns the size of the upload (in bytes)
|
HttpServerFileUpload |
streamToFileSystem(java.lang.String filename)
Stream the content of this upload to the given filename.
|
endHandler
dataHandler, pause, resume
exceptionHandler
HttpServerFileUpload streamToFileSystem(java.lang.String filename)
java.lang.String filename()
java.lang.String name()
java.lang.String contentType()
java.lang.String contentTransferEncoding()
java.nio.charset.Charset charset()
long size()