public class PortletRequestPhaseListener extends BaseListener implements PhaseListener
Modifier and Type | Field and Description |
---|---|
protected static String |
AXSRFT |
static String |
PARAM_ANNOTATED_PORTLET_ACTIONS |
protected static String |
TARGET_ACTION |
Constructor and Description |
---|
PortletRequestPhaseListener() |
Modifier and Type | Method and Description |
---|---|
void |
afterPhase(PhaseEvent phaseEvent)
Handle a notification that the processing for a particular phase has just
been completed.
|
void |
beforePhase(PhaseEvent phaseEvent)
Handle a notification that the processing for a particular phase of the
request processing lifecycle is about to begin.
|
protected PageFlowScopeStorage |
getPageFlowStorage(PhaseEvent phaseEvent)
Return the
PageFlowScopeStorage instance from the session of
specified PhaseEvent . |
PhaseId |
getPhaseId()
Return the identifier of the request processing phase during which this
listener is interested in processing
PhaseEvent events. |
protected void |
removePageFlowStorage(PhaseEvent phaseEvent)
Remove the
PageFlowScopeStorage instance from the session of
specified PhaseEvent . |
getPageBean, resolveExpression
public static final String PARAM_ANNOTATED_PORTLET_ACTIONS
protected static final String AXSRFT
protected static final String TARGET_ACTION
public PhaseId getPhaseId()
PhaseEvent
events.getPhaseId
in interface PhaseListener
public void afterPhase(PhaseEvent phaseEvent)
afterPhase
in interface PhaseListener
public void beforePhase(PhaseEvent phaseEvent)
beforePhase
in interface PhaseListener
protected PageFlowScopeStorage getPageFlowStorage(PhaseEvent phaseEvent)
PageFlowScopeStorage
instance from the session of
specified PhaseEvent
.phaseEvent
- PhaseEvent
PageFlowScopeStorage
protected void removePageFlowStorage(PhaseEvent phaseEvent)
PageFlowScopeStorage
instance from the session of
specified PhaseEvent
.phaseEvent
- PhaseEvent