Interface GrpcRoutingConfigurer

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.

@FunctionalInterface public interface GrpcRoutingConfigurer
Java service provider interface for gRPC routing configuration.
  • Method Summary

    Modifier and Type
    Method
    Description
    Iterable<io.grpc.ServerInterceptor>
    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

      Iterable<io.grpc.ServerInterceptor> interceptors(Config config)
      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 configuration
      existingInterceptors - interceptors already configured on the routing
      Returns:
      interceptors to add