Class FileDownloadActionListener

  • All Implemented Interfaces:
    EventListener, javax.faces.component.StateHolder, javax.faces.event.ActionListener, javax.faces.event.FacesListener

    public class FileDownloadActionListener
    extends Object
    implements javax.faces.event.ActionListener, javax.faces.component.StateHolder
    • Constructor Detail

      • FileDownloadActionListener

        public FileDownloadActionListener()
      • FileDownloadActionListener

        public FileDownloadActionListener​(javax.el.ValueExpression value,
                                          javax.el.ValueExpression contentDisposition,
                                          javax.el.ValueExpression monitorKey)
    • Method Detail

      • processAction

        public void processAction​(javax.faces.event.ActionEvent actionEvent)
                           throws javax.faces.event.AbortProcessingException
        Specified by:
        processAction in interface javax.faces.event.ActionListener
        Throws:
        javax.faces.event.AbortProcessingException
      • ajaxDownload

        protected void ajaxDownload​(javax.faces.context.FacesContext context,
                                    StreamedContent content)
      • regularDownload

        protected void regularDownload​(javax.faces.context.FacesContext context,
                                       StreamedContent content)
      • isTransient

        public boolean isTransient()
        Specified by:
        isTransient in interface javax.faces.component.StateHolder
      • setTransient

        public void setTransient​(boolean value)
        Specified by:
        setTransient in interface javax.faces.component.StateHolder
      • restoreState

        public void restoreState​(javax.faces.context.FacesContext facesContext,
                                 Object state)
        Specified by:
        restoreState in interface javax.faces.component.StateHolder
      • saveState

        public Object saveState​(javax.faces.context.FacesContext facesContext)
        Specified by:
        saveState in interface javax.faces.component.StateHolder