Class NotificationEventHandler
- java.lang.Object
-
- de.hybris.platform.cockpit.session.impl.AbstractRequestEventHandler
-
- de.hybris.platform.cockpit.session.impl.NotificationEventHandler
-
- All Implemented Interfaces:
RequestEventHandler
public class NotificationEventHandler extends AbstractRequestEventHandler
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringMESSAGE_KEYstatic java.lang.StringTITLE_KEY-
Fields inherited from class de.hybris.platform.cockpit.session.impl.AbstractRequestEventHandler
DELIMITER
-
-
Constructor Summary
Constructors Constructor Description NotificationEventHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetCharset()protected java.lang.StringgetDecodedParameter(java.util.Map<java.lang.String,java.lang.String[]> params, java.lang.String key)voidhandleEvent(UICockpitPerspective perspective, java.util.Map<java.lang.String,java.lang.String[]> params)Called by the activeRequestHandlerwhen a cockpit event is triggered for which thisRequestEventHandleris registered.voidsetCharset(java.lang.String charset)-
Methods inherited from class de.hybris.platform.cockpit.session.impl.AbstractRequestEventHandler
getParameter, getPrefix, setPrefix
-
-
-
-
Field Detail
-
TITLE_KEY
public static final java.lang.String TITLE_KEY
- See Also:
- Constant Field Values
-
MESSAGE_KEY
public static final java.lang.String MESSAGE_KEY
- See Also:
- Constant Field Values
-
-
Method Detail
-
handleEvent
public void handleEvent(UICockpitPerspective perspective, java.util.Map<java.lang.String,java.lang.String[]> params)
Description copied from interface:RequestEventHandlerCalled by the activeRequestHandlerwhen a cockpit event is triggered for which thisRequestEventHandleris registered.- Parameters:
perspective- the current perspective ornullif no perspective has been specifiedparams- HTTP request parameters
-
getDecodedParameter
protected java.lang.String getDecodedParameter(java.util.Map<java.lang.String,java.lang.String[]> params, java.lang.String key)
-
setCharset
public void setCharset(java.lang.String charset)
-
getCharset
public java.lang.String getCharset()
-
-