Package jakarta.mvc.event
Interface AfterControllerEvent
-
- All Superinterfaces:
MvcEvent
public interface AfterControllerEvent extends MvcEvent
Event fired after a controller method returns. This event is always fired, even if the controller methods fails with an exception. Must be fired after
BeforeControllerEvent
.For example:
public class EventObserver { public void afterControllerEvent(@Observes AfterControllerEvent 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 jakarta.ws.rs.container.ResourceInfo
getResourceInfo()
Access to the current request controller information.jakarta.ws.rs.core.UriInfo
getUriInfo()
Access to the current request URI information.
-
-
-
Method Detail
-
getUriInfo
jakarta.ws.rs.core.UriInfo getUriInfo()
Access to the current request URI information.- Returns:
- URI info.
- See Also:
UriInfo
-
getResourceInfo
jakarta.ws.rs.container.ResourceInfo getResourceInfo()
Access to the current request controller information.- Returns:
- resources info.
- See Also:
ResourceInfo
-
-