Class LegacyRequestHandler
java.lang.Object
org.exoplatform.container.component.BaseComponentPlugin
org.exoplatform.web.WebRequestHandler
org.exoplatform.portal.application.LegacyRequestHandler
- All Implemented Interfaces:
org.exoplatform.container.component.ComponentPlugin
public class LegacyRequestHandler
extends org.exoplatform.web.WebRequestHandler
This handler resolves legacy request and redirect them to the new URL computed dynamically against the routing table.
- Author:
- Julien Viet
-
Field Summary
Fields inherited from class org.exoplatform.container.component.BaseComponentPlugin
desc, name -
Constructor Summary
ConstructorsConstructorDescriptionLegacyRequestHandler(org.exoplatform.web.url.URLFactoryService urlFactory, org.exoplatform.portal.config.UserPortalConfigService userPortalService) -
Method Summary
Modifier and TypeMethodDescriptionbooleanexecute(org.exoplatform.web.ControllerContext context) protected booleanMethods inherited from class org.exoplatform.web.WebRequestHandler
onDestroy, onInitMethods inherited from class org.exoplatform.container.component.BaseComponentPlugin
getDescription, getName, setDescription, setName
-
Constructor Details
-
LegacyRequestHandler
public LegacyRequestHandler(org.exoplatform.web.url.URLFactoryService urlFactory, org.exoplatform.portal.config.UserPortalConfigService userPortalService)
-
-
Method Details
-
getHandlerName
- Specified by:
getHandlerNamein classorg.exoplatform.web.WebRequestHandler
-
execute
- Specified by:
executein classorg.exoplatform.web.WebRequestHandler- Throws:
Exception
-
getRequiresLifeCycle
protected boolean getRequiresLifeCycle()- Specified by:
getRequiresLifeCyclein classorg.exoplatform.web.WebRequestHandler
-