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

public class DownloadHandler extends WebRequestHandler
Created by The eXo Platform SARL Author : LeBienThuy thuy.le@exoplatform.com Dec 9, 2006
  • Constructor Details

    • DownloadHandler

      public DownloadHandler()
  • Method Details

    • getHandlerName

      public String getHandlerName()
      Description copied from class: WebRequestHandler
      Returns the handler name.
      Specified by:
      getHandlerName in class WebRequestHandler
      Returns:
      the handler name
    • execute

      public boolean execute(ControllerContext context) throws Exception
      Description copied from class: WebRequestHandler
      Execute a service.
      Specified by:
      execute in class WebRequestHandler
      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: WebRequestHandler
      Flag if particular handler requires lifecycle.
      Specified by:
      getRequiresLifeCycle in class WebRequestHandler
      Returns:
      true if processing of particular handler requires to be wrapped within RequestLifeCycle block.