Interface FormValue


public interface FormValue
Represents one part of a multipart request
  • Method Details

    • 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.
    • getHeaders

      jakarta.ws.rs.core.MultivaluedMap<String,String> getHeaders()
      Returns:
      The headers that were present in the multipart request, or null if this was not a multipart request