Package org.ametys.core.util
Class ServerCommHelper
- java.lang.Object
-
- org.ametys.core.util.ServerCommHelper
-
- All Implemented Interfaces:
Component
,Contextualizable
,Serviceable
public class ServerCommHelper extends Object implements Component, Serviceable, Contextualizable
Helper to get JS parameters from request
-
-
Constructor Summary
Constructors Constructor Description ServerCommHelper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
contextualize(Context context)
Map<String,Object>
getJsParameters()
Get the JS parameters as a Map objectvoid
service(ServiceManager manager)
-
-
-
Constructor Detail
-
ServerCommHelper
public ServerCommHelper()
-
-
Method Detail
-
service
public void service(ServiceManager manager) throws ServiceException
- Specified by:
service
in interfaceServiceable
- Throws:
ServiceException
-
contextualize
public void contextualize(Context context) throws ContextException
- Specified by:
contextualize
in interfaceContextualizable
- Throws:
ContextException
-
getJsParameters
public Map<String,Object> getJsParameters()
Get the JS parameters as a Map object- Returns:
- The JS parameters
-
-