Package jakarta.mvc.event
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 afterBeforeProcessViewEvent
.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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Class<? extends ViewEngine>
getEngine()
Returns theViewEngine
selected by the implementation.String
getView()
Returns the view being processed.
-
-
-
Method Detail
-
getView
String getView()
Returns the view being processed.- Returns:
- the view.
-
getEngine
Class<? extends ViewEngine> getEngine()
Returns theViewEngine
selected by the implementation.- Returns:
- the view engine selected.
-
-