Package org.exoplatform.web.handler
Class DownloadHandler
java.lang.Object
org.exoplatform.container.component.BaseComponentPlugin
org.exoplatform.web.WebRequestHandler
org.exoplatform.web.handler.DownloadHandler
- All Implemented Interfaces:
org.exoplatform.container.component.ComponentPlugin
Created by The eXo Platform SARL Author : LeBienThuy thuy.le@exoplatform.com Dec 9, 2006
-
Field Summary
Fields inherited from class org.exoplatform.container.component.BaseComponentPlugin
desc, name -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute(jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse res) booleanexecute(ControllerContext context) Execute a service.Returns the handler name.protected booleanFlag if particular handler requires lifecycle.Methods inherited from class org.exoplatform.web.WebRequestHandler
onDestroy, onInitMethods inherited from class org.exoplatform.container.component.BaseComponentPlugin
getDescription, getName, setDescription, setName
-
Constructor Details
-
DownloadHandler
public DownloadHandler()
-
-
Method Details
-
getHandlerName
Description copied from class:WebRequestHandlerReturns the handler name.- Specified by:
getHandlerNamein classWebRequestHandler- Returns:
- the handler name
-
execute
Description copied from class:WebRequestHandlerExecute a service.- Specified by:
executein classWebRequestHandler- Parameters:
context- the controller context- Returns:
- true if the handler was able to handle the request
- Throws:
Exception- any exception
-
execute
public void execute(jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse res) throws Exception - Throws:
Exception
-
getRequiresLifeCycle
protected boolean getRequiresLifeCycle()Description copied from class:WebRequestHandlerFlag if particular handler requires lifecycle.- Specified by:
getRequiresLifeCyclein classWebRequestHandler- Returns:
- true if processing of particular handler requires to be wrapped within
RequestLifeCycleblock.
-