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.

@API(status=STABLE) @FunctionalInterface public interface EqualityNavigator<A> extends Navigator<A>
  • Method Summary

    Modifier and Type
    Method
    Description
    attributeOf(org.springframework.http.client.ClientHttpResponse response)
    Retrieves an attribute from the given response
    default Optional<Route>
    navigate(A attribute, RoutingTree<A> tree)
     
    default Optional<Route>
    navigate(org.springframework.http.client.ClientHttpResponse response, RoutingTree<A> tree)
     

    Methods inherited from interface org.zalando.riptide.Navigator

    getType
  • 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