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
    Author:
    Santiago Pericas-Geertsen, Ivar Grimstad
    See Also:
    Observes
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      jakarta.ws.rs.container.ResourceInfo getResourceInfo()
      Access to the current request controller information.
      jakarta.ws.rs.core.UriInfo getUriInfo()
      Access to the current request URI information.
    • Method Detail

      • 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