- All Superinterfaces:
MvcEvent
Event fired after a view engine has been selected but before its
ViewEngine.processView(jakarta.mvc.engine.ViewEngineContext)
method is called. Must be fired after ControllerRedirectEvent
,
or if that event is not fired, after AfterControllerEvent
.
For example:
public class EventObserver {
public void beforeProcessView(@Observes BeforeProcessViewEvent e) {
...
}
}
- Since:
- 1.0
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionClass
<? extends ViewEngine> Returns theViewEngine
selected by the implementation.getView()
Returns the view being processed.
-
Method Details
-
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.
-