Module jakarta.mvc

Interface BeforeControllerEvent

All Superinterfaces:
MvcEvent

public interface BeforeControllerEvent extends MvcEvent

Event fired before a controller is called but after it has been matched.

For example:

    public class EventObserver {
         public void beforeControllerEvent(@Observes BeforeControllerEvent e) {
            ...
        }
    }
Since:
1.0
See Also:
  • Observes
  • Method Summary

    Modifier and Type
    Method
    Description
    jakarta.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:
      • UriInfo
    • getResourceInfo

      jakarta.ws.rs.container.ResourceInfo getResourceInfo()
      Access to the current request controller information.
      Returns:
      resources info.
      See Also:
      • ResourceInfo