Class GraphQlWebMvcAutoConfiguration.WebSocketConfiguration
java.lang.Object
org.springframework.boot.autoconfigure.graphql.servlet.GraphQlWebMvcAutoConfiguration.WebSocketConfiguration
- Enclosing class:
- GraphQlWebMvcAutoConfiguration
@Configuration(proxyBeanMethods=false)
@ConditionalOnClass({jakarta.websocket.server.ServerContainer.class,org.springframework.web.socket.WebSocketHandler.class})
@ConditionalOnProperty(prefix="spring.graphql.websocket",
name="path")
public static class GraphQlWebMvcAutoConfiguration.WebSocketConfiguration
extends Object
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.graphql.server.webmvc.GraphQlWebSocketHandler
graphQlWebSocketHandler
(org.springframework.graphql.server.WebGraphQlHandler webGraphQlHandler, GraphQlProperties properties, HttpMessageConverters converters) graphQlWebSocketMapping
(org.springframework.graphql.server.webmvc.GraphQlWebSocketHandler handler, GraphQlProperties properties)
-
Constructor Details
-
WebSocketConfiguration
public WebSocketConfiguration()
-
-
Method Details
-
graphQlWebSocketHandler
@Bean @ConditionalOnMissingBean public org.springframework.graphql.server.webmvc.GraphQlWebSocketHandler graphQlWebSocketHandler(org.springframework.graphql.server.WebGraphQlHandler webGraphQlHandler, GraphQlProperties properties, HttpMessageConverters converters) -
graphQlWebSocketMapping
@Bean public HandlerMapping graphQlWebSocketMapping(org.springframework.graphql.server.webmvc.GraphQlWebSocketHandler handler, GraphQlProperties properties)
-