public class HttpMethodRestrictionsPhaseListener extends Object implements PhaseListener
| Constructor and Description |
|---|
HttpMethodRestrictionsPhaseListener() |
| Modifier and Type | Method and 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 processing
PhaseEvent events. |
public void afterPhase(PhaseEvent event)
PhaseListenerHandle a notification that the processing for a particular phase has just been completed.
afterPhase in interface PhaseListenerevent - the phase event.public void beforePhase(PhaseEvent event)
PhaseListenerHandle a notification that the processing for a particular phase of the request processing lifecycle is about to begin.
beforePhase in interface PhaseListenerevent - the phase event.public PhaseId getPhaseId()
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 the PhaseId class, including
PhaseId.ANY_PHASE to indicate an interest in being notified for all standard phases.
getPhaseId in interface PhaseListenerCopyright © 1997–2020 Eclipse Foundation. All rights reserved.