public interface AfterControllerEvent extends MvcEvent
Event fired after a controller returns successfully. If the controller throws
an exception, this event may not be fired. 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 © 2017 Ivar Grimstad. All rights reserved.