public interface RouteBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    addAttribute(String name, Object value)
    Adds an attribute to the route with the specified name and value.
  • Method Details

    • addAttribute

      RouteBuilder addAttribute(String name, Object value)
      Adds an attribute to the route with the specified name and value. This method is used by
      invalid reference
      SimilarResultsContributor#detectRoute
      to store information extracted from the URL (obtained via
      invalid reference
      SimilarResultsContributor#routeHelper
      ) that is used later during
      invalid reference
      SimilarResultsContributor#resolveCriteria
      .
      Parameters:
      name - The name of the attribute to add.
      value - The value of the attribute to add.
      Returns:
      This RouteBuilder instance.