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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal io.grpc.ServerServiceDefinitionprotected io.grpc.CallOptionsgetCallOptions(int methodId) protected ThrowableonErrorMap(Throwable throwable) reactor.core.publisher.Mono<HelloReply> sayHello(HelloRequest request) Sends a greetingreactor.core.publisher.Mono<HelloReply> sayHello(reactor.core.publisher.Mono<HelloRequest> request) Sends a greeting
-
Constructor Details
-
ReactiveGreeterImplBase
public ReactiveGreeterImplBase()
-
-
Method Details
-
sayHello
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:
bindServicein interfaceio.grpc.BindableService
-
getCallOptions
protected io.grpc.CallOptions getCallOptions(int methodId) -
onErrorMap
-