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- theRequesttype of theServicebeing decoratedO- theResponsetype of theServicebeing 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
ConstructorsModifierConstructorDescriptionprotectedSimpleDecoratingService(Service<I, O> delegate) Creates a new instance that decorates the specifiedService. -
Method Summary
Methods inherited from class com.linecorp.armeria.server.DecoratingService
serviceAdded, shouldCachePathMethods inherited from class com.linecorp.armeria.common.util.AbstractUnwrappable
as, toString, unwrap, unwrapAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.linecorp.armeria.common.util.Unwrappable
equalsIgnoreWrapper, unwrapAll
-
Constructor Details
-
SimpleDecoratingService
Creates a new instance that decorates the specifiedService.
-