Class ReactorReactiveGreeterGrpc.ReactiveGreeterImplBase

java.lang.Object
helloworld.ReactorReactiveGreeterGrpc.ReactiveGreeterImplBase
All Implemented Interfaces:
io.grpc.BindableService
Enclosing class:
ReactorReactiveGreeterGrpc

public abstract static class ReactorReactiveGreeterGrpc.ReactiveGreeterImplBase extends Object implements io.grpc.BindableService
 A separate service definition used only to avoid registering two implementations of the
 same service name in this test application. reactive-grpc generates Reactor bindings for
 any standard gRPC service; a separate service definition is not required.
  • Constructor Details

    • ReactiveGreeterImplBase

      public ReactiveGreeterImplBase()
  • Method Details

    • sayHello

      public reactor.core.publisher.Mono<HelloReply> sayHello(HelloRequest request)
       Sends a greeting
      
    • sayHello

      public reactor.core.publisher.Mono<HelloReply> sayHello(reactor.core.publisher.Mono<HelloRequest> request)
       Sends a greeting
      
    • bindService

      public final io.grpc.ServerServiceDefinition bindService()
      Specified by:
      bindService in interface io.grpc.BindableService
    • getCallOptions

      protected io.grpc.CallOptions getCallOptions(int methodId)
    • onErrorMap

      protected Throwable onErrorMap(Throwable throwable)