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 FileUpload
public InputStream stream()
stream
in interface FileUpload
public String getFileName()
getFileName
in interface FileUpload
public String getContentType()
getContentType
in interface FileUpload
public long getFileSize()
getFileSize
in interface FileUpload
public Path path()
path
in interface FileUpload
public void destroy()
destroy
in interface FileUpload
Copyright © 2019. All rights reserved.