Class GrpcRequest
java.lang.Object
org.springframework.boot.grpc.server.autoconfigure.security.web.servlet.GrpcRequest
Factory that can be used to create a
RequestMatcher 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:GrpcServletRequest.toAnyService().excluding("my-service")- Returns:
- the configured
RequestMatcher
-