- All Superinterfaces:
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:
-
Method Summary
Modifier and TypeMethodDescriptionjakarta.ws.rs.container.ResourceInfo
Access to the current request controller information.jakarta.ws.rs.core.UriInfo
Access to the current request URI information.
-
Method Details
-
getUriInfo
jakarta.ws.rs.core.UriInfo getUriInfo()Access to the current request URI information.- Returns:
- URI info.
- See Also:
-
getResourceInfo
jakarta.ws.rs.container.ResourceInfo getResourceInfo()Access to the current request controller information.- Returns:
- resources info.
- See Also:
-