You're viewing an older version of Vaadin JavaDoc. Please see version 24.7.0 for the latest.
com.vaadin.flow.router.

Class RouteParameterData

    • Constructor Detail

      • RouteParameterData

        public RouteParameterData​(String template,
                                  String regex)

        Creates a parameter data instance.

        Parameters:

        template - the parameter template.

        regex - the regex as found in the template.

    • Method Detail

      • getTemplate

        public String getTemplate()

        Gets the parameter template string.

        Returns:

        the parameter template.

      • getRegex

        public Optional<String> getRegex()

        Gets the regex of the parameter.

        Returns:

        the regex of the parameter.