Package org.zalando.riptide
Class Binding<A>
java.lang.Object
org.zalando.riptide.Binding<A>
- Type Parameters:
A- generic attribute type
Bindings are the building blocks of
routing trees. They bind an attribute
to a route. A binding represents a choice to the navigator which route to
follow.-
Method Summary
-
Method Details
-
getAttribute
-
getRoute
-
create
A static factory to create bindings.Bindings.on(Object)andPartialBindingprovide the same functionality but with some more syntactic sugar.- Type Parameters:
A- generic attribute type- Parameters:
attribute- attribute to bindroute- route to bind to- Returns:
- a binding of attribute to route
- See Also:
-