Package com.linecorp.armeria.server
Class SimpleDecoratingService<I extends Request,O extends Response>
java.lang.Object
com.linecorp.armeria.common.util.AbstractUnwrappable<Service<T_I,T_O>>
com.linecorp.armeria.server.DecoratingService<I,O,I,O>
com.linecorp.armeria.server.SimpleDecoratingService<I,O>
- Type Parameters:
I
- theRequest
type of theService
being decoratedO
- theResponse
type of theService
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>
-
Constructor Summary
Constructors Modifier Constructor Description protected
SimpleDecoratingService(Service<I,O> delegate)
Creates a new instance that decorates the specifiedService
. -
Method Summary
Methods inherited from class com.linecorp.armeria.server.DecoratingService
serviceAdded, shouldCachePath
Methods inherited from class com.linecorp.armeria.common.util.AbstractUnwrappable
as, delegate, toString, unwrap
-
Constructor Details
-
SimpleDecoratingService
Creates a new instance that decorates the specifiedService
.
-