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.Copyright © 2017 Ivar Grimstad. All rights reserved.