dextuploadjk.engine
Interface FieldItem
- Minimum version
- 1.0.0
- Minimum environment
- Java 17, Jakarta EE 9+
- Description
-
FieldItem is the top-level interface for handling individual fields representing elements of multipart data.
Fields are divided into elements representing string values and elements representing files. Fields representing strings use the lower FormItem interface, and fields representing files use the FileItem interface.
- Methods
-
getFieldName
-
Returns the field name indicated by the Content-Disposition header.
-
Signatures
String getFieldName()
-
Return
Name of field
getItemType
-
Returns a MultipartType value indicating the type of field.
-
Signatures
MultipartType getItemType()
-
Return
Form, File
-