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) {
...
}
}
Observes
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.container.ResourceInfo |
getResourceInfo()
Access to the current request controller information.
|
javax.ws.rs.core.UriInfo |
getUriInfo()
Access to the current request URI information.
|
javax.ws.rs.core.UriInfo getUriInfo()
UriInfo
javax.ws.rs.container.ResourceInfo getResourceInfo()
ResourceInfo
Copyright © 2018 Ivar Grimstad. All rights reserved.