Class ContentDisposition.ContentDispositionBuilder<T extends ContentDisposition.ContentDispositionBuilder,​V extends ContentDisposition>

    • Field Detail

      • fileName

        protected String fileName
      • creationDate

        protected Date creationDate
      • modificationDate

        protected Date modificationDate
      • readDate

        protected Date readDate
      • size

        protected long size
    • Method Detail

      • fileName

        public T fileName​(String fileName)
        Add the "file-name" parameter.
        Parameters:
        fileName - the "file-name" parameter. If null the value is removed
        Returns:
        this builder.
      • creationDate

        public T creationDate​(Date creationDate)
        Add the "creation-date" parameter.
        Parameters:
        creationDate - the "creation-date" parameter. If null the value is removed
        Returns:
        this builder.
      • modificationDate

        public T modificationDate​(Date modificationDate)
        Add the "modification-date" parameter.
        Parameters:
        modificationDate - the "modification-date" parameter. If null the value is removed
        Returns:
        this builder.
      • readDate

        public T readDate​(Date readDate)
        Add the "read-date" parameter.
        Parameters:
        readDate - the "read-date" parameter. If null the value is removed
        Returns:
        this builder.
      • size

        public T size​(long size)
        Add the "size" parameter.
        Parameters:
        size - the "size" parameter. If -1 the value is removed.
        Returns:
        this builder.
      • build

        public V build()
        Build the content disposition.
        Returns:
        the content disposition.