Class GrpcRequest

java.lang.Object
org.springframework.boot.grpc.server.autoconfigure.security.web.reactive.GrpcRequest

public final class GrpcRequest extends Object
Factory that can be used to create a ServerWebExchangeMatcher to match against gRPC service locations.
Since:
4.1.0
  • Method Details

    • toAnyService

      public static GrpcRequest.GrpcReactiveRequestMatcher toAnyService()
      Returns a matcher that includes all gRPC services. The excluding method can be used to remove specific services by name if required. For example:
      GrpcReactiveRequest.toAnyService().excluding("my-service")
      
      Returns:
      the configured ServerWebExchangeMatcher