Interface ServiceBuilder


  • public interface ServiceBuilder
    • Method Detail

      • bind

        <Req,​Resp> ServiceBuilder bind​(ServiceMethod<Req,​Resp> serviceMethod,
                                             Handler<GrpcServerRequest<Req,​Resp>> handler)
        Bind a service method call handler that handles any call made to the server for the fullMethodName method.
        Parameters:
        handler - the service method call handler
        serviceMethod - the service method
        Returns:
        a reference to this, so the API can be used fluently