Class PartialBinding<A>

java.lang.Object
org.zalando.riptide.PartialBinding<A>
Type Parameters:
A - generic attribute.

@API(status=STABLE) public final class PartialBinding<A> extends Object
A partial binding that already has an attribute associated but is missing a route. The functionality provided by this class is just syntactic sugar. Clients could use Binding.create(Object, Route) directly.
See Also:
  • Method Details

    • call

      public Binding<A> call(org.zalando.fauxpas.ThrowingRunnable<? extends Exception> consumer)
    • call

      public Binding<A> call(org.zalando.fauxpas.ThrowingConsumer<org.springframework.http.client.ClientHttpResponse,? extends Exception> consumer)
    • call

      public <I> Binding<A> call(Class<I> type, org.zalando.fauxpas.ThrowingConsumer<I,? extends Exception> consumer)
    • call

      public <I> Binding<A> call(com.google.common.reflect.TypeToken<I> type, org.zalando.fauxpas.ThrowingConsumer<I,? extends Exception> consumer)
    • dispatch

      @SafeVarargs public final <B> Binding<A> dispatch(Navigator<B> navigator, Binding<B>... bindings)
    • call

      public Binding<A> call(Route route)