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 byto store information extracted from the URL (obtained viainvalid reference
SimilarResultsContributor#detectRoute) that is used later duringinvalid reference
SimilarResultsContributor#routeHelper.invalid reference
SimilarResultsContributor#resolveCriteria- Parameters:
name- The name of the attribute to add.value- The value of the attribute to add.- Returns:
- This
RouteBuilderinstance.
-