Interface RedirectionFilter


  • @Role
    @Unstable
    public interface RedirectionFilter
    Allows to perform a redirection according to the context.
    Since:
    14.0RC1
    Version:
    $Id: 0d260112f2075e0891b776a7d256c47b305e143b $
    • Method Detail

      • redirect

        boolean redirect​(XWikiContext context)
                  throws XWikiException
        Possibly perform a redirection according to the context.
        Parameters:
        context - the XWiki context
        Returns:
        true if a redirection has been performed, false otherwise
        Throws:
        XWikiException - in case of error during the analysis of the context