public class GrpcIoServer extends GrpcServer implements 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, newInstance
public static final io.vertx.lang.rx.TypeArg<GrpcIoServer> __TYPE_ARG
public GrpcIoServer(GrpcIoServer delegate)
public GrpcIoServer(Object delegate)
public String toString()
toString
in class GrpcServer
public boolean equals(Object o)
equals
in class GrpcServer
public int hashCode()
hashCode
in class GrpcServer
public GrpcIoServer getDelegate()
getDelegate
in class GrpcServer
public void handle(HttpServerRequest event)
handle
in interface Handler<HttpServerRequest>
handle
in class GrpcServer
event
- 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 GrpcServer
methodDesc
- handler
- the service method call handlerpublic static GrpcIoServer newInstance(GrpcIoServer arg)
Copyright © 2024 Eclipse. All rights reserved.