Class GraphQlRequestPredicates
java.lang.Object
org.springframework.graphql.server.webflux.GraphQlRequestPredicates
RequestPredicate implementations tailored for GraphQL reactive endpoints.- Since:
- 1.3.0
- Author:
- Brian Clozel, Rossen Stoyanchev
-
Method Summary
Modifier and TypeMethodDescriptionstatic RequestPredicategraphQlHttp(String path) Create apredicatethat matches GraphQL HTTP requests for the configured path.static RequestPredicategraphQlSse(String path) Create apredicatethat matches GraphQL SSE over HTTP requests for the configured path.
-
Method Details
-
graphQlHttp
Create apredicatethat matches GraphQL HTTP requests for the configured path.- Parameters:
path- the path on which the GraphQL HTTP endpoint is mapped- See Also:
-
graphQlSse
Create apredicatethat matches GraphQL SSE over HTTP requests for the configured path.- Parameters:
path- the path on which the GraphQL SSE endpoint is mapped- See Also:
-