Class ResourceFileDownloadResult


  • public class ResourceFileDownloadResult
    extends java.lang.Object
    Represents everything downloaded from resource files
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getBytes()
      Getter for bytes Bytes of the file
      java.lang.String getContentType()
      Getter for contentType Mime content type
      java.lang.String getFilename()
      Getter for filename Original filename
      java.lang.Boolean getSuccess()
      Getter for success True if this download succeeded
      void setBytes​(java.lang.String value)
      Setter for bytes Bytes of the file
      void setContentType​(java.lang.String value)
      Setter for contentType Mime content type
      void setFilename​(java.lang.String value)
      Setter for filename Original filename
      void setSuccess​(java.lang.Boolean value)
      Setter for success True if this download succeeded
      java.lang.String toString()
      Returns a JSON string representation of ResourceFileDownloadResult
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • ResourceFileDownloadResult

        public ResourceFileDownloadResult()
    • Method Detail

      • getSuccess

        public java.lang.Boolean getSuccess()
        Getter for success True if this download succeeded
      • setSuccess

        public void setSuccess​(java.lang.Boolean value)
        Setter for success True if this download succeeded
      • getBytes

        public java.lang.String getBytes()
        Getter for bytes Bytes of the file
      • setBytes

        public void setBytes​(java.lang.String value)
        Setter for bytes Bytes of the file
      • getFilename

        public java.lang.String getFilename()
        Getter for filename Original filename
      • setFilename

        public void setFilename​(java.lang.String value)
        Setter for filename Original filename
      • getContentType

        public java.lang.String getContentType()
        Getter for contentType Mime content type
      • setContentType

        public void setContentType​(java.lang.String value)
        Setter for contentType Mime content type
      • toString

        public java.lang.String toString()
        Returns a JSON string representation of ResourceFileDownloadResult
        Overrides:
        toString in class java.lang.Object