com.aspose.html.net.headers

Class ContentDispositionHeaderValue



  • public class ContentDispositionHeaderValue
    extends Object

    Represent Content-Disposition header value.

    • Constructor Detail

      • ContentDispositionHeaderValue

        public ContentDispositionHeaderValue(String dispositionType)

        Create a new instance of this disposition type.

        Parameters:
        dispositionType - Disposition type
    • Method Detail

      • getDispositionType

        public String getDispositionType()

        Get or set disposition type

      • setDispositionType

        public void setDispositionType(String value)

        Get or set disposition type

      • getParameters

        public com.aspose.html.internal.ms.System.Collections.Generic.IGenericCollection<NameValueHeaderValue> getParameters()

        Get collection of paremeters

        Value: The parameters.
      • getName

        public String getName()

        The name for a content body part.

        Value: The name.
      • setName

        public void setName(String value)

        The name for a content body part.

        Value: The name.
      • getFileName

        public String getFileName()

        The name of the stored file.

        Value: The name of the file.
      • setFileName

        public void setFileName(String value)

        The name of the stored file.

        Value: The name of the file.
      • toString

        public String toString()

        Returns a String that represents this instance.

        Overrides:
        toString in class Object
        Returns:
        Returns a String that represents this instance.
      • equals

        public boolean equals(Object obj)

        Determines whether the specified Object is equal to this instance.

        Overrides:
        equals in class Object
        Parameters:
        obj - The Object to compare with this instance.
        Returns:
        true if the specified Object is equal to this instance; otherwise, false.