- All Known Implementing Classes:
GrpcSecurityRoutingConfigurer
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Java service provider interface for gRPC routing configuration.
-
Method Summary
Modifier and TypeMethodDescriptionIterable<io.grpc.ServerInterceptor>interceptors(Config config) Creates default global interceptors to add to gRPC routing.default Iterable<io.grpc.ServerInterceptor>interceptors(Config config, Iterable<io.grpc.ServerInterceptor> existingInterceptors) Creates default global interceptors to add to gRPC routing.
-
Method Details
-
interceptors
Creates default global interceptors to add to gRPC routing.- Parameters:
config- root configuration- Returns:
- interceptors to add
-
interceptors
default Iterable<io.grpc.ServerInterceptor> interceptors(Config config, Iterable<io.grpc.ServerInterceptor> existingInterceptors) Creates default global interceptors to add to gRPC routing.- Parameters:
config- root configurationexistingInterceptors- interceptors already configured on the routing- Returns:
- interceptors to add
-