Package io.undertow.server.handlers.form
Class FormData.FileItem
- java.lang.Object
-
- io.undertow.server.handlers.form.FormData.FileItem
-
- Enclosing class:
- FormData
public static class FormData.FileItem extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
delete()
java.nio.file.Path
getFile()
long
getFileSize()
java.io.InputStream
getInputStream()
boolean
isInMemory()
void
write(java.nio.file.Path target)
-
-
-
Method Detail
-
isInMemory
public boolean isInMemory()
-
getFile
public java.nio.file.Path getFile()
-
getFileSize
public long getFileSize() throws java.io.IOException
- Throws:
java.io.IOException
-
getInputStream
public java.io.InputStream getInputStream() throws java.io.IOException
- Throws:
java.io.IOException
-
delete
public void delete() throws java.io.IOException
- Throws:
java.io.IOException
-
write
public void write(java.nio.file.Path target) throws java.io.IOException
- Throws:
java.io.IOException
-
-