Interface FormValue
-
public interface FormValueRepresents one part of a multipart request
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetCharset()FileItemgetFileItem()StringgetFileName()jakarta.ws.rs.core.MultivaluedMap<String,String>getHeaders()StringgetValue()booleanisFileItem()
-
-
-
Method Detail
-
getValue
String getValue()
- Returns:
- the simple string value.
- Throws:
IllegalStateException- If the body of the part is not a simple string value
-
getCharset
String getCharset()
- Returns:
- The charset of the simple string value
-
getFileItem
FileItem getFileItem()
-
isFileItem
boolean isFileItem()
-
getFileName
String getFileName()
- Returns:
- The filename specified in the disposition header.
-
-