Module jakarta.mvc

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
See Also:
  • Observes
  • Method Summary

    Modifier and Type
    Method
    Description
    Class<? extends ViewEngine>
    Returns the ViewEngine selected by the implementation.
    Returns the view being processed.
  • Method Details

    • 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.