Interface ControllerRedirectEvent

All Superinterfaces:
MvcEvent
All Known Implementing Classes:
ControllerRedirectEventImpl

public interface ControllerRedirectEvent extends MvcEvent

An event is triggered when a lutece controller MVC performs an HTTP redirect using the HttpServletResponse.sendRedirect(...) method..

For example:

    public class EventObserver {
         public void onControllerRedirect(@Observes ControllerRedirectEvent e) {
            ...
        } 
    }
Since:
8.0.0
See Also:
  • Observes
  • Nested Class Summary

    Nested classes/interfaces inherited from interface fr.paris.lutece.portal.web.cdi.mvc.event.MvcEvent

    MvcEvent.ControllerInvocationType
  • Method Summary

    Modifier and Type
    Method
    Description
    The target of the redirection.
  • Method Details

    • getLocation

      UrlItem getLocation()
      The target of the redirection.
      Returns:
      URL target of redirection.