Class UploadHandler

java.lang.Object
org.exoplatform.container.component.BaseComponentPlugin
org.exoplatform.web.WebRequestHandler
org.exoplatform.web.handler.UploadHandler
All Implemented Interfaces:
org.exoplatform.container.component.ComponentPlugin

public class UploadHandler extends org.exoplatform.web.WebRequestHandler
Created by The eXo Platform SARL Author : Nhu Dinh Thuan nhudinhthuan@exoplatform.com Dec 9, 2006
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static enum 
     
  • Field Summary

    Fields inherited from class org.exoplatform.container.component.BaseComponentPlugin

    desc, name
  • Constructor Summary

    Constructors
    Constructor
    Description
    UploadHandler(org.exoplatform.container.xml.InitParams params)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    void
    execute(jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse res)
     
    boolean
    execute(org.exoplatform.web.ControllerContext context)
     
     
    protected boolean
     

    Methods inherited from class org.exoplatform.web.WebRequestHandler

    onDestroy, onInit

    Methods inherited from class org.exoplatform.container.component.BaseComponentPlugin

    getDescription, getName, setDescription, setName

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • UploadHandler

      public UploadHandler(org.exoplatform.container.xml.InitParams params)
  • Method Details

    • getHandlerName

      public String getHandlerName()
      Specified by:
      getHandlerName in class org.exoplatform.web.WebRequestHandler
    • execute

      public boolean execute(org.exoplatform.web.ControllerContext context) throws Exception
      Specified by:
      execute in class org.exoplatform.web.WebRequestHandler
      Throws:
      Exception
    • execute

      public void execute(jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse res) throws Exception
      Throws:
      Exception
    • getRequiresLifeCycle

      protected boolean getRequiresLifeCycle()
      Specified by:
      getRequiresLifeCycle in class org.exoplatform.web.WebRequestHandler
    • encodeName

      public String encodeName(String name) throws Exception
      Throws:
      Exception