@FunctionalInterface public interface DecoratingHttpClientFunction
SimpleDecoratingHttpClient with
ClientBuilder.decorator(DecoratingHttpClientFunction).| Modifier and Type | Method and Description |
|---|---|
HttpResponse |
execute(HttpClient delegate,
ClientRequestContext ctx,
HttpRequest req)
|
HttpResponse execute(HttpClient delegate, ClientRequestContext ctx, HttpRequest req) throws Exception
delegate - the HttpClient being decorated by this functionctx - the context of the HttpRequest being sentreq - the HttpRequest being sentHttpResponse to be receivedExceptionCopyright © 2020 LeanCloud. All rights reserved.