Event fired before a controller is called but after it has been matched.
For example:
public class EventObserver {
public void beforeControllerEvent(@Observes BeforeControllerEvent e) {
...
}
}
jakarta.enterprise.event.Observes
| Modifier and Type | Method and Description |
|---|---|
| public ResourceInfo | |
| public UriInfo |
| getResourceInfo | back to summary |
|---|---|
| public ResourceInfo getResourceInfo() Access to the current request controller information.
| |
| getUriInfo | back to summary |
|---|---|
| public UriInfo getUriInfo() Access to the current request URI information.
| |