Package org.zalando.riptide
Interface EqualityNavigator<A>
- All Superinterfaces:
Navigator<A>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Method Summary
Modifier and TypeMethodDescriptionattributeOf(org.springframework.http.client.ClientHttpResponse response) Retrieves an attribute from the given responsenavigate(A attribute, RoutingTree<A> tree) navigate(org.springframework.http.client.ClientHttpResponse response, RoutingTree<A> tree)
-
Method Details
-
attributeOf
@Nullable A attributeOf(org.springframework.http.client.ClientHttpResponse response) throws IOException Retrieves an attribute from the given response- Parameters:
response- the incoming response- Returns:
- an attribute based on the response which is then used to select the correct binding
- Throws:
IOException- if accessing the response failed
-