public final class ClientUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static <I extends Request,O extends Response,U extends Client<I,O>> |
executeWithFallback(U delegate,
ClientRequestContext ctx,
BiFunction<ClientRequestContext,Throwable,O> fallback) |
static <I extends Request,O extends Response,U extends Client<I,O>> |
initContextAndExecuteWithFallback(U delegate,
DefaultClientRequestContext ctx,
EndpointGroup endpointGroup,
BiFunction<ClientRequestContext,Throwable,O> fallback) |
public static <I extends Request,O extends Response,U extends Client<I,O>> O initContextAndExecuteWithFallback(U delegate, DefaultClientRequestContext ctx, EndpointGroup endpointGroup, BiFunction<ClientRequestContext,Throwable,O> fallback)
public static <I extends Request,O extends Response,U extends Client<I,O>> O executeWithFallback(U delegate, ClientRequestContext ctx, BiFunction<ClientRequestContext,Throwable,O> fallback)
Copyright © 2020 LeanCloud. All rights reserved.