Interface AfterProcessViewEvent

  • All Superinterfaces:
    MvcEvent

    public interface AfterProcessViewEvent
    extends MvcEvent

    Event fired after the view engine method ViewEngine.processView(jakarta.mvc.engine.ViewEngineContext) returns. This event is always fired, even if the view engine fails with an exception. Must be fired after BeforeProcessViewEvent.

    For example:

        public class EventObserver {
             public void afterProcessView(@Observes AfterProcessViewEvent e) {
                ...
            }
        }
    Since:
    1.0
    Author:
    Santiago Pericas-Geertsen, Christian Kaltepoth, Ivar Grimstad
    See Also:
    Observes
    • Method Detail

      • getView

        String getView()
        Returns the view being processed.
        Returns:
        the view.
      • getEngine

        Class<? extends ViewEngine> getEngine()
        Returns the ViewEngine selected by the implementation.
        Returns:
        the view engine selected.