Interface FormValue
-
public interface FormValue
Represents one part of a multipart request
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getCharset()
FileItem
getFileItem()
String
getFileName()
jakarta.ws.rs.core.MultivaluedMap<String,String>
getHeaders()
String
getValue()
boolean
isFileItem()
-
-
-
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.
-
-