public class VertxChannelBuilder extends io.grpc.ManagedChannelBuilder<VertxChannelBuilder>
Modifier and Type | Method and Description |
---|---|
io.grpc.ManagedChannel |
build() |
VertxChannelBuilder |
compressorRegistry(io.grpc.CompressorRegistry registry) |
VertxChannelBuilder |
decompressorRegistry(io.grpc.DecompressorRegistry registry) |
VertxChannelBuilder |
directExecutor() |
VertxChannelBuilder |
executor(Executor executor) |
static VertxChannelBuilder |
forAddress(io.vertx.core.Vertx vertx,
SocketAddress address) |
static VertxChannelBuilder |
forAddress(io.vertx.core.Vertx vertx,
String host,
int port) |
static VertxChannelBuilder |
forTarget(io.vertx.core.Vertx vertx,
String target) |
VertxChannelBuilder |
idleTimeout(long value,
TimeUnit unit) |
VertxChannelBuilder |
intercept(io.grpc.ClientInterceptor... interceptors) |
VertxChannelBuilder |
intercept(List<io.grpc.ClientInterceptor> interceptors) |
VertxChannelBuilder |
loadBalancerFactory(io.grpc.LoadBalancer.Factory loadBalancerFactory) |
VertxChannelBuilder |
maxInboundMessageSize(int max) |
VertxChannelBuilder |
nameResolverFactory(io.grpc.NameResolver.Factory resolverFactory) |
VertxChannelBuilder |
overrideAuthority(String authority) |
VertxChannelBuilder |
usePlaintext(boolean skipNegotiation) |
VertxChannelBuilder |
userAgent(String userAgent) |
VertxChannelBuilder |
useSsl(io.vertx.core.Handler<io.vertx.core.net.ClientOptionsBase> handler) |
public static VertxChannelBuilder forTarget(io.vertx.core.Vertx vertx, String target)
public static VertxChannelBuilder forAddress(io.vertx.core.Vertx vertx, String host, int port)
public static VertxChannelBuilder forAddress(io.vertx.core.Vertx vertx, SocketAddress address)
public VertxChannelBuilder directExecutor()
directExecutor
in class io.grpc.ManagedChannelBuilder<VertxChannelBuilder>
public VertxChannelBuilder executor(Executor executor)
executor
in class io.grpc.ManagedChannelBuilder<VertxChannelBuilder>
public VertxChannelBuilder intercept(List<io.grpc.ClientInterceptor> interceptors)
intercept
in class io.grpc.ManagedChannelBuilder<VertxChannelBuilder>
public VertxChannelBuilder intercept(io.grpc.ClientInterceptor... interceptors)
intercept
in class io.grpc.ManagedChannelBuilder<VertxChannelBuilder>
public VertxChannelBuilder userAgent(String userAgent)
userAgent
in class io.grpc.ManagedChannelBuilder<VertxChannelBuilder>
public VertxChannelBuilder overrideAuthority(String authority)
overrideAuthority
in class io.grpc.ManagedChannelBuilder<VertxChannelBuilder>
public VertxChannelBuilder usePlaintext(boolean skipNegotiation)
usePlaintext
in class io.grpc.ManagedChannelBuilder<VertxChannelBuilder>
public VertxChannelBuilder nameResolverFactory(io.grpc.NameResolver.Factory resolverFactory)
nameResolverFactory
in class io.grpc.ManagedChannelBuilder<VertxChannelBuilder>
public VertxChannelBuilder loadBalancerFactory(io.grpc.LoadBalancer.Factory loadBalancerFactory)
loadBalancerFactory
in class io.grpc.ManagedChannelBuilder<VertxChannelBuilder>
public VertxChannelBuilder decompressorRegistry(io.grpc.DecompressorRegistry registry)
decompressorRegistry
in class io.grpc.ManagedChannelBuilder<VertxChannelBuilder>
public VertxChannelBuilder compressorRegistry(io.grpc.CompressorRegistry registry)
compressorRegistry
in class io.grpc.ManagedChannelBuilder<VertxChannelBuilder>
public VertxChannelBuilder idleTimeout(long value, TimeUnit unit)
idleTimeout
in class io.grpc.ManagedChannelBuilder<VertxChannelBuilder>
public VertxChannelBuilder maxInboundMessageSize(int max)
maxInboundMessageSize
in class io.grpc.ManagedChannelBuilder<VertxChannelBuilder>
public VertxChannelBuilder useSsl(io.vertx.core.Handler<io.vertx.core.net.ClientOptionsBase> handler)
public io.grpc.ManagedChannel build()
build
in class io.grpc.ManagedChannelBuilder<VertxChannelBuilder>
Copyright © 2018. All rights reserved.