Class SimpleDecoratingClient<I extends Request,O extends Response>

java.lang.Object
com.linecorp.armeria.common.util.AbstractUnwrappable<Client<T_I,T_O>>
com.linecorp.armeria.client.DecoratingClient<I,O,I,O>
com.linecorp.armeria.client.SimpleDecoratingClient<I,O>
Type Parameters:
I - the Request type of the Client being decorated
O - the Response type of the Client being decorated
All Implemented Interfaces:
Client<I,O>, Unwrappable
Direct Known Subclasses:
AbstractCircuitBreakerClient, AbstractConcurrencyLimitingClient, AbstractRetryingClient, LoggingClient, LoggingRpcClient, MetricCollectingClient, MetricCollectingRpcClient, SimpleDecoratingHttpClient, SimpleDecoratingRpcClient

public abstract class SimpleDecoratingClient<I extends Request,O extends Response> extends DecoratingClient<I,O,I,O>
Decorates a Client. Use DecoratingClient if your Client has different Request or Response type from the Client being decorated.
  • Constructor Details

    • SimpleDecoratingClient

      protected SimpleDecoratingClient(Client<I,O> delegate)
      Creates a new instance that decorates the specified Client.