Class GrpcRequest
java.lang.Object
org.springframework.boot.grpc.server.autoconfigure.security.web.reactive.GrpcRequest
Factory that can be used to create a
ServerWebExchangeMatcher to match against
gRPC service locations.- Since:
- 4.1.0
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classThe matcher used to match against service locations. -
Method Summary
Modifier and TypeMethodDescriptionReturns a matcher that includes all gRPC services.
-
Method Details
-
toAnyService
Returns a matcher that includes all gRPC services. Theexcludingmethod can be used to remove specific services by name if required. For example:GrpcReactiveRequest.toAnyService().excluding("my-service")- Returns:
- the configured
ServerWebExchangeMatcher
-