Top Description Methods
jakarta.mvc.event

public Interface AfterProcessViewEvent

extends MvcEvent
Imports
jakarta.mvc.engine.ViewEngine

Event fired after the view engine method jakarta.mvc.engine.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 jakarta.mvc.event.BeforeProcessViewEvent.

For example:

    public class EventObserver {
        public void afterProcessView(@Observes AfterProcessViewEvent e) {
           ...
       }
   }
Authors
Santiago Pericas-Geertsen, Christian Kaltepoth, Ivar Grimstad
Since
1.0
See Also
jakarta.enterprise.event.Observes

Method Summary

Modifier and TypeMethod and Description
public Class<? extends ViewEngine>

Returns:

the view engine selected.
getEngine
()

Returns the jakarta.mvc.engine.ViewEngine selected by the implementation.

public String

Returns:

the view.
getView
()

Returns the view being processed.

Method Detail

getEngineback to summary
public Class<? extends ViewEngine> getEngine()

Returns the jakarta.mvc.engine.ViewEngine selected by the implementation.

Returns:Class<? extends ViewEngine>

the view engine selected.

getViewback to summary
public String getView()

Returns the view being processed.

Returns:String

the view.