Class MultipartForm

  • All Implemented Interfaces:
    Iterable<FormDataPart>

    public class MultipartForm
    extends Object
    implements Iterable<FormDataPart>
    A multipart form.

    NOTE: This class has been automatically generated from the original non Mutiny-ified interface using Vert.x codegen.

    • Constructor Detail

      • MultipartForm

        public MultipartForm​(io.vertx.ext.web.multipart.MultipartForm delegate)
      • MultipartForm

        public MultipartForm​(Object delegate)
    • Method Detail

      • getDelegate

        public io.vertx.ext.web.multipart.MultipartForm getDelegate()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • toMulti

        public io.smallrye.mutiny.Multi<FormDataPart> toMulti()
      • create

        public static MultipartForm create()
        Returns:
        a multipart form instance
      • setCharset

        public MultipartForm setCharset​(String charset)
        Parameters:
        charset - the charset to use
        Returns:
        a reference to this, so the API can be used fluently
      • attribute

        public MultipartForm attribute​(String name,
                                       String value)
        Parameters:
        name - the name of the attribute
        value - the value of the attribute
        Returns:
        a reference to this, so the API can be used fluently
      • textFileUpload

        public MultipartForm textFileUpload​(String name,
                                            String filename,
                                            String pathname,
                                            String mediaType)
        Parameters:
        name - name of the parameter
        filename - filename of the file
        pathname - the pathname of the file
        mediaType - the MIME type of the file
        Returns:
        a reference to this, so the API can be used fluently
      • textFileUpload

        public MultipartForm textFileUpload​(String name,
                                            String filename,
                                            Buffer content,
                                            String mediaType)
        Parameters:
        name - name of the parameter
        filename - filename of the file
        content - the content of the file
        mediaType - the MIME type of the file
        Returns:
        a reference to this, so the API can be used fluently
      • binaryFileUpload

        public MultipartForm binaryFileUpload​(String name,
                                              String filename,
                                              String pathname,
                                              String mediaType)
        Parameters:
        name - name of the parameter
        filename - filename of the file
        pathname - the pathname of the file
        mediaType - the MIME type of the file
        Returns:
        a reference to this, so the API can be used fluently
      • binaryFileUpload

        public MultipartForm binaryFileUpload​(String name,
                                              String filename,
                                              Buffer content,
                                              String mediaType)
        Parameters:
        name - name of the parameter
        filename - filename of the file
        content - the content of the file
        mediaType - the MIME type of the file
        Returns:
        a reference to this, so the API can be used fluently
      • setCharset

        public MultipartForm setCharset​(Charset charset)
        Parameters:
        charset - the charset to use
        Returns:
        a reference to this, so the API can be used fluently
      • getCharset

        public Charset getCharset()
        Returns:
        the charset to use when encoding the form
      • newInstance

        public static MultipartForm newInstance​(io.vertx.ext.web.multipart.MultipartForm arg)