public class VertxServerBuilder extends io.grpc.ServerBuilder<VertxServerBuilder>
public static VertxServerBuilder forPort(Vertx vertx, int port)
public static VertxServerBuilder forAddress(Vertx vertx, SocketAddress address)
public static VertxServerBuilder forAddress(Vertx vertx, String host, int port)
public io.grpc.netty.NettyServerBuilder nettyBuilder()
NettyServerBuilder
public VertxServerBuilder directExecutor()
directExecutor
in class io.grpc.ServerBuilder<VertxServerBuilder>
public VertxServerBuilder executor(@Nullable Executor executor)
executor
in class io.grpc.ServerBuilder<VertxServerBuilder>
public VertxServerBuilder addService(io.grpc.ServerServiceDefinition service)
addService
in class io.grpc.ServerBuilder<VertxServerBuilder>
public VertxServerBuilder addService(io.grpc.BindableService bindableService)
addService
in class io.grpc.ServerBuilder<VertxServerBuilder>
public VertxServerBuilder fallbackHandlerRegistry(@Nullable io.grpc.HandlerRegistry fallbackRegistry)
fallbackHandlerRegistry
in class io.grpc.ServerBuilder<VertxServerBuilder>
public VertxServerBuilder useTransportSecurity(File certChain, File privateKey)
useTransportSecurity
in class io.grpc.ServerBuilder<VertxServerBuilder>
public VertxServerBuilder addTransportFilter(io.grpc.ServerTransportFilter filter)
addTransportFilter
in class io.grpc.ServerBuilder<VertxServerBuilder>
public VertxServerBuilder addStreamTracerFactory(io.grpc.ServerStreamTracer.Factory factory)
addStreamTracerFactory
in class io.grpc.ServerBuilder<VertxServerBuilder>
public VertxServerBuilder decompressorRegistry(@Nullable io.grpc.DecompressorRegistry registry)
decompressorRegistry
in class io.grpc.ServerBuilder<VertxServerBuilder>
public VertxServerBuilder compressorRegistry(@Nullable io.grpc.CompressorRegistry registry)
compressorRegistry
in class io.grpc.ServerBuilder<VertxServerBuilder>
public VertxServerBuilder intercept(io.grpc.ServerInterceptor interceptor)
intercept
in class io.grpc.ServerBuilder<VertxServerBuilder>
public VertxServerBuilder useTransportSecurity(InputStream certChain, InputStream privateKey)
useTransportSecurity
in class io.grpc.ServerBuilder<VertxServerBuilder>
public VertxServerBuilder handshakeTimeout(long timeout, TimeUnit unit)
handshakeTimeout
in class io.grpc.ServerBuilder<VertxServerBuilder>
public VertxServerBuilder maxInboundMessageSize(int bytes)
maxInboundMessageSize
in class io.grpc.ServerBuilder<VertxServerBuilder>
public VertxServerBuilder setBinaryLog(io.grpc.BinaryLog binaryLog)
setBinaryLog
in class io.grpc.ServerBuilder<VertxServerBuilder>
public VertxServerBuilder maxInboundMetadataSize(int bytes)
maxInboundMetadataSize
in class io.grpc.ServerBuilder<VertxServerBuilder>
public VertxServerBuilder useSsl(Handler<HttpServerOptions> handler)
public VertxServerBuilder commandDecorator(java.util.function.Consumer<Runnable> commandDecorator)
commandDecorator
- the decoratorpublic VertxServer build()
build
in class io.grpc.ServerBuilder<VertxServerBuilder>
Copyright © 2024 Eclipse. All rights reserved.