Class UserClient<I extends Request,​O extends Response>

java.lang.Object
com.linecorp.armeria.common.util.AbstractUnwrappable<Client<I,​O>>
com.linecorp.armeria.client.UserClient<I,​O>
Type Parameters:
I - the request type
O - the response type
All Implemented Interfaces:
ClientBuilderParams, Unwrappable

public abstract class UserClient<I extends Request,​O extends Response>
extends AbstractUnwrappable<Client<I,​O>>
implements ClientBuilderParams
A base class for implementing a user's entry point for sending a Request.

It provides the utility methods for easily forwarding a Request from a user to a Client.

Note that this class is not a subtype of Client, although its name may mislead.