Interface PhaseListener

    • Method Detail

      • afterPhase

        default void afterPhase​(PhaseEvent event)

        Handle a notification that the processing for a particular phase has just been completed.

        Parameters:
        event - the phase event.
      • beforePhase

        default void beforePhase​(PhaseEvent event)

        Handle a notification that the processing for a particular phase of the request processing lifecycle is about to begin.

        Parameters:
        event - the phase event.
      • getPhaseId

        PhaseId getPhaseId()

        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.

        Returns:
        the phase id.