Interface RouteBuilder
public interface RouteBuilder
-
Method Summary
Modifier and TypeMethodDescriptionaddAttribute(String name, Object value) Adds an attribute to the route with the specified name and value.
-
Method Details
-
addAttribute
Adds an attribute to the route with the specified name and value. This method is used bySimilarResultsContributor#detectRouteto store information extracted from the URL (obtained viaSimilarResultsContributor#routeHelper) that is used later duringSimilarResultsContributor#resolveCriteria.- Parameters:
name- The name of the attribute to add.value- The value of the attribute to add.- Returns:
- This
RouteBuilderinstance.
-