T_I - the Request type of the Client being decoratedT_O - the Response type of the Client being decoratedR_I - the Request type of this ClientR_O - the Response type of this Clientpublic abstract class DecoratingClient<T_I extends Request,T_O extends Response,R_I extends Request,R_O extends Response> extends AbstractUnwrappable<Client<T_I,T_O>> implements Client<R_I,R_O>
Client. Use SimpleDecoratingHttpClient and SimpleDecoratingRpcClient
if your Client has the same Request and Response type with the
Client being decorated.| Modifier | Constructor and Description |
|---|---|
protected |
DecoratingClient(Client<T_I,T_O> delegate)
Creates a new instance that decorates the specified
Client. |
Copyright © 2020 LeanCloud. All rights reserved.