@FunctionalInterface
public interface DecoratingServiceFunction<I extends Request,O extends Response>
DecoratingService
with
Service.decorate(DecoratingServiceFunction)
.Modifier and Type | Method and Description |
---|---|
O |
serve(Service<I,O> delegate,
ServiceRequestContext ctx,
I req)
Serves an incoming
Request . |