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 RequestPredicate
graphQlHttp
(String path) Create apredicate
that matches GraphQL HTTP requests for the configured path.static RequestPredicate
graphQlSse
(String path) Create apredicate
that matches GraphQL SSE over HTTP requests for the configured path.
-
Method Details
-
graphQlHttp
Create apredicate
that matches GraphQL HTTP requests for the configured path.- Parameters:
path
- the path on which the GraphQL HTTP endpoint is mapped- See Also:
-
graphQlSse
Create apredicate
that matches GraphQL SSE over HTTP requests for the configured path.- Parameters:
path
- the path on which the GraphQL SSE endpoint is mapped- See Also:
-