@Named(value="fdch") @ApplicationScoped public class FileDownloadHandler extends BeanHandler
| Constructor and Description |
|---|
FileDownloadHandler() |
| Modifier and Type | Method and Description |
|---|---|
CommandResponse |
actionDownload(CommandRequest request)
Action to download the specified file
|
boolean |
isEnabledForActionHandling() |
actionVoid, addFieldError, afterInvokeAction, beforeInvokeAction, calculateActionShortcuts, clearFieldErrors, getActionForShortcut, getActionName, getBeanName, getExtraActionParams, getFieldErrors, handle, hasError, isEnableDoubleClickControl, isUseActionShortcuts, setEnabledForActionHandling, setEnableDoubleClickControl, setUseActionShortcuts, startpublic CommandResponse actionDownload(CommandRequest request)
request - A CommandRequest object that contains the the HttpServletRequest, HttpServletResponse, HttpSession and the information about the files uploaded on the current submitpublic boolean isEnabledForActionHandling()
isEnabledForActionHandling in class BeanHandlerCopyright © 2001–2016 JBoss by Red Hat. All rights reserved.