public interface BeforeProcessViewEvent extends MvcEvent
Event fired after a view engine has been selected but before its
ViewEngine.processView(javax.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) {
...
}
}Observes| Modifier and Type | Method and Description |
|---|---|
Class<? extends ViewEngine> |
getEngine()
Returns the
ViewEngine selected by the implementation. |
String |
getView()
Returns the view being processed.
|
String getView()
Class<? extends ViewEngine> getEngine()
ViewEngine selected by the implementation.Comments to: mvc-dev@eclipse.org.
Copyright © 2017, 2020 Eclipse Foundation. All rights reserved.
Use is subject to license terms.