@Factory
public class GrpcServerBuilder
extends java.lang.Object
ServerBuilder instance. Here to allow extensions via a BeanCreatedEventListener for ServerBuilder.| Constructor and Description |
|---|
GrpcServerBuilder() |
| Modifier and Type | Method and Description |
|---|---|
protected io.grpc.ServerBuilder<?> |
serverBuilder(GrpcServerConfiguration configuration,
java.util.List<io.grpc.BindableService> serviceList,
java.util.List<io.grpc.ServerInterceptor> interceptors,
java.util.List<io.grpc.ServerTransportFilter> serverTransportFilters)
The server builder instance.
|
@Bean @Singleton protected io.grpc.ServerBuilder<?> serverBuilder(GrpcServerConfiguration configuration, @Nullable java.util.List<io.grpc.BindableService> serviceList, @Nullable java.util.List<io.grpc.ServerInterceptor> interceptors, @Nullable java.util.List<io.grpc.ServerTransportFilter> serverTransportFilters)
configuration - The configurationserviceList - The bindable servicesinterceptors - The server interceptorsserverTransportFilters - The server transport filters