Interface FormData.FormValue

  • Enclosing class:
    FormData

    public static interface FormData.FormValue
    • Method Detail

      • isFile

        boolean isFile()
        Returns true if this is a file and not a simple string
        Returns:
      • getPath

        Path getPath()
        Returns:
        The temp file that the file data was saved to
        Throws:
        IllegalStateException - if this is not a file
      • getFileName

        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