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 SimilarResultsContributor#detectRoute to store information extracted from the URL (obtained via SimilarResultsContributor#routeHelper) that is used later during SimilarResultsContributor#resolveCriteria.
      Parameters:
      name - The name of the attribute to add.
      value - The value of the attribute to add.
      Returns:
      This RouteBuilder instance.