public class GrpcIoServer extends GrpcServer implements io.vertx.lang.rx.RxDelegate, Handler<HttpServerRequest>
Extends the so it can be utilized with .
In Vert.x 5, the core is decoupled from `io.grpc.*` packages to support JPMS.
NOTE: This class has been automatically generated from theoriginal non RX-ified interface using Vert.x codegen.| Modifier and Type | Field and Description |
|---|---|
static io.vertx.lang.rx.TypeArg<GrpcIoServer> |
__TYPE_ARG |
| Constructor and Description |
|---|
GrpcIoServer(GrpcIoServer delegate) |
GrpcIoServer(Object delegate) |
| Modifier and Type | Method and Description |
|---|---|
<Req,Resp> GrpcIoServer |
callHandler(io.grpc.MethodDescriptor<Req,Resp> methodDesc,
Handler<GrpcServerRequest<Req,Resp>> handler)
Set a service method call handler that handles any call made to the server for the service method.
|
boolean |
equals(Object o) |
GrpcIoServer |
getDelegate() |
void |
handle(HttpServerRequest event)
Something has happened, so handle it.
|
int |
hashCode() |
static GrpcIoServer |
newInstance(GrpcIoServer arg) |
static GrpcIoServer |
server(Vertx vertx)
Create a blank gRPC/IO server
|
static GrpcIoServer |
server(Vertx vertx,
GrpcServerOptions options)
Create a blank gRPC/IO server
|
String |
toString() |
callHandler, callHandler, newInstancepublic static final io.vertx.lang.rx.TypeArg<GrpcIoServer> __TYPE_ARG
public GrpcIoServer(GrpcIoServer delegate)
public GrpcIoServer(Object delegate)
public String toString()
toString in class GrpcServerpublic boolean equals(Object o)
equals in class GrpcServerpublic int hashCode()
hashCode in class GrpcServerpublic GrpcIoServer getDelegate()
getDelegate in interface io.vertx.lang.rx.RxDelegategetDelegate in class GrpcServerpublic void handle(HttpServerRequest event)
handle in interface Handler<HttpServerRequest>handle in class GrpcServerevent - the event to handlepublic static GrpcIoServer server(Vertx vertx)
vertx - the vertx instancepublic static GrpcIoServer server(Vertx vertx, GrpcServerOptions options)
vertx - the vertx instanceoptions - the server optionspublic <Req,Resp> GrpcIoServer callHandler(io.grpc.MethodDescriptor<Req,Resp> methodDesc, Handler<GrpcServerRequest<Req,Resp>> handler)
callHandler in class GrpcServermethodDesc - handler - the service method call handlerpublic static GrpcIoServer newInstance(GrpcIoServer arg)
Copyright © 2025 Eclipse. All rights reserved.