Package io.undertow.server.handlers.form
Interface FormData.FormValue
-
- Enclosing class:
- FormData
public static interface FormData.FormValue
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description java.lang.String
getCharset()
java.io.File
getFile()
Deprecated.FormData.FileItem
getFileItem()
java.lang.String
getFileName()
HeaderMap
getHeaders()
java.nio.file.Path
getPath()
Deprecated.java.lang.String
getValue()
boolean
isFile()
Deprecated.boolean
isFileItem()
-
-
-
Method Detail
-
getValue
java.lang.String getValue()
- Returns:
- the simple string value.
- Throws:
java.lang.IllegalStateException
- If this is not a simple string value
-
getCharset
java.lang.String getCharset()
- Returns:
- The charset of the simple string value
-
isFile
@Deprecated boolean isFile()
Deprecated.Returns true if this is a file and not a simple string- Returns:
-
getPath
@Deprecated java.nio.file.Path getPath()
Deprecated.- Returns:
- The temp file that the file data was saved to
- Throws:
java.lang.IllegalStateException
- if this is not a file
-
getFile
@Deprecated java.io.File getFile()
Deprecated.
-
getFileItem
FormData.FileItem getFileItem()
-
isFileItem
boolean isFileItem()
-
getFileName
java.lang.String getFileName()
- Returns:
- The filename specified in the disposition header.
-
getHeaders
HeaderMap getHeaders()
- Returns:
- The headers that were present in the multipart request, or null if this was not a multipart request
-
-