public class ShadedNettyGrpcServerFactory extends AbstractGrpcServerFactory<io.grpc.netty.shaded.io.grpc.netty.NettyServerBuilder>
properties, serverConfigurers| Constructor and Description |
|---|
ShadedNettyGrpcServerFactory(GrpcServerProperties properties,
List<GrpcServerConfigurer> serverConfigurers)
Creates a new shaded netty server factory with the given properties.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
configureSecurity(io.grpc.netty.shaded.io.grpc.netty.NettyServerBuilder builder)
Configures the security options that should be used by the server.
|
protected io.grpc.netty.shaded.io.grpc.netty.NettyServerBuilder |
newServerBuilder()
Creates a new server builder.
|
protected static io.grpc.netty.shaded.io.netty.handler.ssl.ClientAuth |
of(ClientAuth clientAuth)
Converts the given client auth option to netty's client auth.
|
addService, configure, configureLimits, configureServices, createServer, destroy, getAddress, getPort, toCheckedFilepublic ShadedNettyGrpcServerFactory(GrpcServerProperties properties, List<GrpcServerConfigurer> serverConfigurers)
properties - The properties used to configure the server.serverConfigurers - The server configurers to use. Can be empty.protected io.grpc.netty.shaded.io.grpc.netty.NettyServerBuilder newServerBuilder()
AbstractGrpcServerFactorynewServerBuilder in class AbstractGrpcServerFactory<io.grpc.netty.shaded.io.grpc.netty.NettyServerBuilder>protected void configureSecurity(io.grpc.netty.shaded.io.grpc.netty.NettyServerBuilder builder)
AbstractGrpcServerFactoryconfigureSecurity in class AbstractGrpcServerFactory<io.grpc.netty.shaded.io.grpc.netty.NettyServerBuilder>builder - The server builder to configure.protected static io.grpc.netty.shaded.io.netty.handler.ssl.ClientAuth of(ClientAuth clientAuth)
clientAuth - The client auth option to convert.