Interface Part

    • Method Detail

      • getContentType

        String getContentType()
        Get the content type.
        Returns:
        the content type.
      • getHeader

        String getHeader​(String name)
        Get the header.
        Parameters:
        name - the name.
        Returns:
        the header, or null.
      • getHeaderNames

        Collection<String> getHeaderNames()
        Get the header names.
        Returns:
        the header names.
      • getHeaders

        Collection<String> getHeaders​(String name)
        Get the headers.
        Parameters:
        name - the name.
        Returns:
        the headers.
      • getName

        String getName()
        Get the name.
        Returns:
        the name.
      • getSize

        long getSize()
        Get the size.
        Returns:
        the size.
      • getSubmittedFileName

        String getSubmittedFileName()
        Get the submitted filename.
        Returns:
        the submitted filename.
      • write

        void write​(String filename)
            throws IOException
        Write to the given filename.
        Parameters:
        filename - the filename.
        Throws:
        IOException - when an I/O error occurs.