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
Modifier and Type Method Description void
afterPhase(PhaseEvent event)
Handle a notification that the processing for a particular phase has just been completed.void
beforePhase(PhaseEvent event)
Handle a notification that the processing for a particular phase of the request processing lifecycle is about to begin.PhaseId
getPhaseId()
Return the identifier of the request processing phase during which this listener is interested in processingPhaseEvent
events.
-
Constructor Details
-
HttpMethodRestrictionsPhaseListener
public HttpMethodRestrictionsPhaseListener()
-
-
Method Details
-
afterPhase
Description copied from interface:PhaseListener
Handle a notification that the processing for a particular phase has just been completed.
- Specified by:
afterPhase
in interfacePhaseListener
- Parameters:
event
- the phase event.
-
beforePhase
Description copied from interface:PhaseListener
Handle a notification that the processing for a particular phase of the request processing lifecycle is about to begin.
- Specified by:
beforePhase
in interfacePhaseListener
- Parameters:
event
- the phase event.
-
getPhaseId
Description copied from interface:PhaseListener
Return the identifier of the request processing phase during which this listener is interested in processing
PhaseEvent
events. Legal values are the singleton instances defined by thePhaseId
class, includingPhaseId.ANY_PHASE
to indicate an interest in being notified for all standard phases.- Specified by:
getPhaseId
in interfacePhaseListener
- Returns:
- the phase id.
-