## MultipartFormDataContent class

Represent content for multipart/form-data encoding algorithm

```java
public class MultipartFormDataContent : MultipartContent
```

## Constructors

| Name | Description |
| --- | --- |
| [MultipartFormDataContent](multipartformdatacontent/#constructor)() | Initializes a new instance of the `MultipartFormDataContent` class. |
| [MultipartFormDataContent](multipartformdatacontent/#constructor_1)(String) | Initializes a new instance of the `MultipartFormDataContent` class. |

## Properties

| Name | Description |
| --- | --- |
| [getHeaders](../../com.aspose.html.net/content/headers/) Gets the HTTP content headers. |

## Methods

| Name | Description |
| --- | --- |
| [add](../../com.aspose.html.net/multipartformdatacontent/add/#add)(Content) | Add the content to the `MultipartFormDataContent` class |
| [add](../../com.aspose.html.net/multipartformdatacontent/add/#add_1)(Content, String) | Add the content to the `MultipartFormDataContent` class with field name parameter |
| [add](../../com.aspose.html.net/multipartformdatacontent/add/#add_2)(Content, String, String) | Add the content to the `MultipartFormDataContent` class with field and file name parameter |
| [dispose](../../com.aspose.html.net/content/dispose/)() | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. |
| [getEnumerator](../../com.aspose.html.net/multipartcontent/getenumerator/)() | Returns an enumerator that iterates through a collection. |
| [readAsByteArray](../../com.aspose.html.net/content/readasbytearray/)() | Serialize the HTTP content and return a byte array that represents the content. |
| [readAsStream](../../com.aspose.html.net/content/readasstream/)() | Serialize the HTTP content and return a stream that represents the content. |
| [readAsString](../../com.aspose.html.net/content/readasString/)() | Serialize the HTTP content and return a String that represents the content. |

### See Also

* class [MultipartContent](../multipartcontent/)
* package [com.aspose.html.net](../../com.aspose.html.net/)
* package [Aspose.HTML](../../)
