Package com.linecorp.armeria.server
Class SimpleDecoratingService<I extends Request,O extends Response>
java.lang.Object
com.linecorp.armeria.common.util.AbstractUnwrappable<Service<I,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>
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 Summary
ModifierConstructorDescriptionprotected
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, toString, unwrap, unwrapAll
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.linecorp.armeria.common.util.Unwrappable
equalsIgnoreWrapper, unwrapAll
-
Constructor Details
-
SimpleDecoratingService
Creates a new instance that decorates the specifiedService
.
-