io.vertx.ext.web.multipart

## Interface FormDataPart

-     public interface FormDataPart

  A form data part of a `MultipartForm`.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `Buffer` | `content()`
    `String` | `filename()`
    `boolean` | `isAttribute()`
    `boolean` | `isFileUpload()`
    `Boolean` | `isText()`
    `String` | `mediaType()`
    `String` | `name()`
    `String` | `pathname()`
    `String` | `value()`

- - ### Method Detail

    - #### name

          String name()

      Returns:
        the name

    - #### isAttribute

          boolean isAttribute()

      Returns:
        `true` when this part is an attribute

    - #### isFileUpload

          boolean isFileUpload()

      Returns:
        `true` when this part is a file upload

    - #### value

          String value()

      Returns:
        the value when the part for a form attribute otherwise `null`

    - #### filename

          String filename()

      Returns:
        the filename when this part is a file upload otherwise `null`

    - #### pathname

          String pathname()

      Returns:
        the pathname when this part is a file upload created with a pathname otherwise `null`

    - #### content

          Buffer content()

      Returns:
        the content when this part is a file upload created with a buffer otherwise `null`

    - #### mediaType

          String mediaType()

      Returns:
        the media type when this part is a file upload otherwise `null`

    - #### isText

          Boolean isText()

      Returns:
        whether the file upload is text or binary when this part is a file upload otherwise `null`

Copyright © 2021 Eclipse. All rights reserved.