public class NettyFileUpload extends Object implements FileUpload
| Constructor and Description |
|---|
NettyFileUpload(Path basedir,
io.netty.handler.codec.http.multipart.FileUpload upload) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
bytes() |
void |
destroy() |
String |
getContentType() |
String |
getFileName() |
long |
getFileSize() |
Path |
path() |
InputStream |
stream() |
String |
toString() |
public NettyFileUpload(Path basedir, io.netty.handler.codec.http.multipart.FileUpload upload)
public byte[] bytes()
bytes in interface FileUploadpublic InputStream stream()
stream in interface FileUploadpublic String getFileName()
getFileName in interface FileUploadpublic String getContentType()
getContentType in interface FileUploadpublic long getFileSize()
getFileSize in interface FileUploadpublic Path path()
path in interface FileUploadpublic void destroy()
destroy in interface FileUploadCopyright © 2019. All rights reserved.