com.aspose.html.net

Class MultipartContent

  • All Implemented Interfaces:
    com.aspose.html.internal.ms.System.Collections.Generic.IGenericEnumerable<Content>, com.aspose.html.internal.ms.System.Collections.IEnumerable<Content>, com.aspose.html.internal.ms.System.IDisposable, Iterable<Content>
    Direct Known Subclasses:
    MultipartFormDataContent


    public class MultipartContent
    extends Content
    implements com.aspose.html.internal.ms.System.Collections.Generic.IGenericEnumerable<Content>

    Represents a multipart/* content.

    See Also:
    Content
    • Constructor Detail

      • MultipartContent

        public MultipartContent()

        Create a new instance of the MultipartContent class.

      • MultipartContent

        public MultipartContent(String subtype)

        Create a new instance of the MultipartContent class with subtype.

        Parameters:
        subtype - The subtype
      • MultipartContent

        public MultipartContent(String subtype,
                                String boundary)

        Create a new instance of the MultipartContent class with subtype and boundary.

        Parameters:
        subtype - The subtype
        boundary - The boundary
        Throws:
        com.aspose.html.internal.ms.System.ArgumentException - The argument cannot be null or empty string.
    • Method Detail

      • iterator

        public com.aspose.html.internal.ms.System.Collections.Generic.IGenericEnumerator<Content> iterator()

        Returns an enumerator that iterates through a collection.

        Specified by:
        iterator in interface com.aspose.html.internal.ms.System.Collections.Generic.IGenericEnumerable<Content>
        Specified by:
        iterator in interface com.aspose.html.internal.ms.System.Collections.IEnumerable<Content>
        Specified by:
        iterator in interface Iterable<Content>
        Returns:
        An IEnumerator object that can be used to iterate through the collection.
      • iterator_Rename_Namesake

        public com.aspose.html.internal.ms.System.Collections.IEnumerator iterator_Rename_Namesake()

        Gets the enumerator.

        Returns: