public class HttpFile extends Object
| Constructor and Description |
|---|
HttpFile(io.netty.handler.codec.http.multipart.FileUpload data) |
| Modifier and Type | Method and Description |
|---|---|
String |
getContentType()
Returns the content type passed by the browser or null if not defined.
|
File |
getFile() |
String |
getFileName()
Returns the original filename in the client's filesystem, as provided by the browser
(or other client software).
|
String |
getParameterName()
Get the parameter name used to represent the file in the HTML form
|
boolean |
isInMemory() |
public boolean isInMemory()
public File getFile()
public String getParameterName()
public String getContentType()
public String getFileName()
Copyright © 2012-2015. All Rights Reserved.