Interface Service<I extends Request,​O extends Response>

Type Parameters:
I - the type of incoming Request. Must be HttpRequest or RpcRequest.
O - the type of outgoing Response. Must be HttpResponse or RpcResponse.
All Superinterfaces:
Unwrappable
All Known Subinterfaces:
GrpcService, HttpService, HttpServiceWithRoutes, RpcService, RpcServiceWithRoutes, ServiceWithRoutes<I,​O>, TransientHttpService, TransientRpcService, TransientService<I,​O>
All Known Implementing Classes:
AbstractCompositeService, AbstractHttpService, AbstractThrottlingService, AbstractUnaryGrpcService, AbstractUnsafeUnaryGrpcService, AuthService, BraveService, ContentPreviewingService, CorsService, DecoratingService, DocService, EncodingService, FileService, HealthCheckService, HttpAuthService, HttpFileService, HttpHealthCheckService, JettyService, LoggingService, ManagedHttpHealthCheckService, MetricCollectingService, PrometheusExpositionService, RedirectService, SimpleCompositeRpcService, SimpleCompositeService, SimpleDecoratingHttpService, SimpleDecoratingRpcService, SimpleDecoratingService, ThriftCallService, ThrottlingRpcService, ThrottlingService, THttpService, TomcatService
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface
public interface Service<I extends Request,​O extends Response>
extends Unwrappable
Handles a Request received by a Server.