Class DownloadBean

    • Constructor Detail

      • DownloadBean

        public DownloadBean()
    • Method Detail

      • download

        public <T extends IFileDataEntity<?>> org.primefaces.model.StreamedContent download​(IFileProviding<?,​T> resource)
                                                                                     throws javax.faces.event.AbortProcessingException
        Throws:
        javax.faces.event.AbortProcessingException
      • downloadFromURL

        public org.primefaces.model.StreamedContent downloadFromURL​(URL resourceURL)
                                                             throws javax.faces.event.AbortProcessingException
        Throws:
        javax.faces.event.AbortProcessingException
      • downloadFromFile

        public org.primefaces.model.StreamedContent downloadFromFile​(File resourceFile)
                                                              throws javax.faces.event.AbortProcessingException
        Throws:
        javax.faces.event.AbortProcessingException