Package com.sun.faces.lifecycle
Class HttpMethodRestrictionsPhaseListener
- java.lang.Object
-
- com.sun.faces.lifecycle.HttpMethodRestrictionsPhaseListener
-
- All Implemented Interfaces:
PhaseListener,Serializable,EventListener
public class HttpMethodRestrictionsPhaseListener extends Object implements PhaseListener
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description HttpMethodRestrictionsPhaseListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterPhase(PhaseEvent event)Handle a notification that the processing for a particular phase has just been completed.voidbeforePhase(PhaseEvent event)Handle a notification that the processing for a particular phase of the request processing lifecycle is about to begin.PhaseIdgetPhaseId()Return the identifier of the request processing phase during which this listener is interested in processingPhaseEventevents.
-
-
-
Method Detail
-
afterPhase
public void afterPhase(PhaseEvent event)
Description copied from interface:PhaseListenerHandle a notification that the processing for a particular phase has just been completed.
- Specified by:
afterPhasein interfacePhaseListener- Parameters:
event- the phase event.
-
beforePhase
public void beforePhase(PhaseEvent event)
Description copied from interface:PhaseListenerHandle a notification that the processing for a particular phase of the request processing lifecycle is about to begin.
- Specified by:
beforePhasein interfacePhaseListener- Parameters:
event- the phase event.
-
getPhaseId
public PhaseId getPhaseId()
Description copied from interface:PhaseListenerReturn the identifier of the request processing phase during which this listener is interested in processing
PhaseEventevents. Legal values are the singleton instances defined by thePhaseIdclass, includingPhaseId.ANY_PHASEto indicate an interest in being notified for all standard phases.- Specified by:
getPhaseIdin interfacePhaseListener- Returns:
- the phase id.
-
-