Package org.exoplatform.web.handler
Class DefaultRequestHandler
java.lang.Object
org.exoplatform.container.component.BaseComponentPlugin
org.exoplatform.web.WebRequestHandler
org.exoplatform.web.handler.DefaultRequestHandler
- All Implemented Interfaces:
org.exoplatform.container.component.ComponentPlugin
- Author:
- Julien Viet
-
Field Summary
Fields inherited from class org.exoplatform.container.component.BaseComponentPlugin
desc, name -
Constructor Summary
ConstructorsConstructorDescriptionDefaultRequestHandler(org.exoplatform.portal.config.UserPortalConfigService portalConfigService) -
Method Summary
Modifier and TypeMethodDescriptionbooleanexecute(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
-
DefaultRequestHandler
public DefaultRequestHandler(org.exoplatform.portal.config.UserPortalConfigService portalConfigService)
-
-
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
-
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.
-