Interface AJSFContext.RedirectOptions

    • Method Detail

      • getParams

        Map<String,​List<String>> getParams()
        Returns:
        Additional URL parameters to be added to the URL.
      • getRedirectScript

        String getRedirectScript()
        Returns:
        If given, perform the redirect on the client via the given custom JavaScript. Any occurrences of #href# are replaced with a JavaScript string literal of the URL to which to redirect.
      • getSubpath

        String getSubpath()
        Returns:
        An additional subpath after the redirect URI. Usually used for REST-like parameters, eg. /ui/forms/1234.
      • apply

        String apply​(String location,
                     javax.faces.context.FacesContext fc)
        Parameters:
        location - Location (URL) to which to apply this options.
        fc - Current faces context.
        Returns:
        The given url, with this options applied.