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 Summary
All Methods Instance Methods Concrete Methods
call (com.google.common.reflect.TypeToken<I> type,
org.zalando.fauxpas.ThrowingConsumer<I,? extends Exception > consumer)
call (org.zalando.fauxpas.ThrowingConsumer<org.springframework.http.client.ClientHttpResponse,? extends Exception > consumer)
call (org.zalando.fauxpas.ThrowingRunnable<? extends Exception > consumer)
Methods inherited from class java.lang.Object
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
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)