Class NavigationCaseBuilder.RedirectBuilder

  • Enclosing class:
    NavigationCaseBuilder

    public abstract class NavigationCaseBuilder.RedirectBuilder
    extends Object

    Allows populating the redirect with parameters and setting the includeViewParams option.

    Since:
    2.2
    • Constructor Detail

      • RedirectBuilder

        public RedirectBuilder()
    • Method Detail

      • parameter

        public abstract NavigationCaseBuilder.RedirectBuilder parameter​(String name,
                                                                        String value)

        Add a parameter to the redirect.

        Parameters:
        name - the name of the redirect parameter
        value - the value of the redirect parameter. May not be a ValueExpression.
        Returns:
        the builder instance
        Throws:
        NullPointerException - if any of the parameters are null
        Since:
        2.2
      • includeViewParams

        public abstract NavigationCaseBuilder.RedirectBuilder includeViewParams()

        Indicates the current redirect should include view parameters.

        Returns:
        the builder instance
        Since:
        2.2