Class SimpleDecoratingService<I extends Request,O extends Response>

Type Parameters:
I - the Request type of the Service being decorated
O - the Response type of the Service being decorated
All Implemented Interfaces:
Unwrappable, Service<I,O>
Direct Known Subclasses:
AbstractThrottlingService, SimpleDecoratingHttpService, SimpleDecoratingRpcService

public abstract class SimpleDecoratingService<I extends Request,O extends Response> extends DecoratingService<I,O,I,O>
A Service that decorates another Service. Use DecoratingService if your Service has different Request or Response type from the Service being decorated.
See Also:
  • Constructor Details

    • SimpleDecoratingService

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