public static interface FormUploads.Upload
Modifier and Type | Method and Description |
---|---|
byte[] |
asBytes() |
InputStream |
asStream() |
String |
asString() |
String |
asString(Charset charset) |
Optional<Charset> |
charset() |
Optional<String> |
contentType() |
String |
filename() |
long |
length() |
void |
moveTo(File destination)
Move upload data to a File.
|
String filename()
long length()
InputStream asStream()
byte[] asBytes()
String asString()
String asString(Charset charset)
charset
- Charset to use
void moveTo(File destination)
destination
- Destination file