@@ -62,7 +62,7 @@ specification.
6262`GraphQlHttpHandler` can be exposed as an HTTP endpoint by declaring a `RouterFunction`
6363bean and using the `RouterFunctions` from Spring MVC or WebFlux to create the route. The
6464Boot starter does this, see the
65- {spring-boot-ref-docs}/web.html#web.graphql.web-endpoints [Web Endpoints] section for
65+ {spring-boot-ref-docs}/web.html#web.graphql.transports.http-websocket [Web Endpoints] section for
6666details, or check `GraphQlWebMvcAutoConfiguration` or `GraphQlWebFluxAutoConfiguration`
6767it contains, for the actual config.
6868
@@ -103,11 +103,12 @@ The `graphql-ws` project lists a number of
103103https://github.com/enisdenjo/graphql-ws#recipes[recipes] for client use.
104104
105105`GraphQlWebSocketHandler` can be exposed as a WebSocket endpoint by declaring a
106- `SimpleUrlHandlerMapping` bean and using it to map the handler to a URL path. The Boot
107- starter has options to enable this, see the
108- {spring-boot-ref-docs}/web.html#web.graphql.web-endpoints[Web Endpoints] section for
109- details, or check `GraphQlWebMvcAutoConfiguration` or `GraphQlWebFluxAutoConfiguration`
110- it contains, for the actual config.
106+ `SimpleUrlHandlerMapping` bean and using it to map the handler to a URL path. By default,
107+ the Boot starter does not expose a GraphQL over WebSocket endpoint, but it's easy to
108+ enable it by adding a property for the endpoint path. Please, see the
109+ {spring-boot-ref-docs}/web.html#web.graphql.transports.http-websocket[Web Endpoints]
110+ section for details, or check the `GraphQlWebMvcAutoConfiguration` or the
111+ `GraphQlWebFluxAutoConfiguration` for the actual Boot starter config.
111112
112113The Spring for GraphQL repository contains a WebFlux
113114{github-main-branch}/samples/webflux-websocket[WebSocket sample] application.
@@ -216,7 +217,7 @@ class HeaderInterceptor implements WebGraphQlInterceptor {
216217
217218The `WebGraphQlInterceptor` chain can be updated through the `WebGraphQlHandler` builder,
218219and the Boot starter uses this, see Boot's section on
219- {spring-boot-ref-docs}/web.html#web.graphql.web-endpoints [Web Endpoints].
220+ {spring-boot-ref-docs}/web.html#web.graphql.transports.http-websocket [Web Endpoints].
220221
221222The <<server-rsocket>> transport handler delegates to a similar `GraphQlInterceptor`
222223chain that you can use to intercept GraphQL over RSocket requests.
@@ -517,7 +518,7 @@ public class RequestAttributesAccessor implements ThreadLocalAccessor {
517518A `ThreadLocalAccessor` can be registered in the <<server-interception,WebGraphHandler>>
518519builder. The Boot starter detects beans of this type and automatically registers them for
519520Spring MVC application, see the
520- {spring-boot-ref-docs}/web.html#web.graphql.web-endpoints [Web Endpoints] section.
521+ {spring-boot-ref-docs}/web.html#web.graphql.transports.http-websocket [Web Endpoints] section.
521522
522523
523524[[execution-context-webflux]]
0 commit comments