Class HttpMethodRestrictionsPhaseListener

    • Constructor Detail

      • HttpMethodRestrictionsPhaseListener

        public HttpMethodRestrictionsPhaseListener()
    • Method Detail

      • afterPhase

        public void afterPhase​(PhaseEvent event)
        Description copied from interface: PhaseListener

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

        Specified by:
        afterPhase in interface PhaseListener
        Parameters:
        event - the phase event.
      • beforePhase

        public void beforePhase​(PhaseEvent event)
        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 interface PhaseListener
        Parameters:
        event - the phase event.
      • getPhaseId

        public PhaseId 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 the PhaseId class, including PhaseId.ANY_PHASE to indicate an interest in being notified for all standard phases.

        Specified by:
        getPhaseId in interface PhaseListener
        Returns:
        the phase id.