com.aspose.html.net.headers

Class ContentDispositionHeaderValue

  • java.lang.Object
    • com.aspose.html.net.headers.ContentDispositionHeaderValue


  • public class ContentDispositionHeaderValue
    extends java.lang.Object

    Represent Content-Disposition header value.

    • Constructor Detail

      • ContentDispositionHeaderValue

        public ContentDispositionHeaderValue(java.lang.String dispositionType)

        Create a new instance of this disposition type.

        Parameters:
        dispositionType - Disposition type
    • Method Detail

      • getDispositionType

        public java.lang.String getDispositionType()

        Get or set disposition type

      • setDispositionType

        public void setDispositionType(java.lang.String value)

        Get or set disposition type

      • getParameters

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

        Get collection of paremeters

        Value: The parameters.
      • getName

        public java.lang.String getName()

        The name for a content body part.

        Value: The name.
      • setName

        public void setName(java.lang.String value)

        The name for a content body part.

        Value: The name.
      • getFileName

        public java.lang.String getFileName()

        The name of the stored file.

        Value: The name of the file.
      • setFileName

        public void setFileName(java.lang.String value)

        The name of the stored file.

        Value: The name of the file.
      • toString

        public java.lang.String toString()

        Returns a String that represents this instance.

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

        public boolean equals(java.lang.Object obj)

        Determines whether the specified Object is equal to this instance.

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