@Configuration(proxyBeanMethods=false) @ConditionalOnClass(value={javax.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 and Description |
---|
WebSocketConfiguration() |
Modifier and Type | Method and Description |
---|---|
org.springframework.graphql.server.webmvc.GraphQlWebSocketHandler |
graphQlWebSocketHandler(org.springframework.graphql.server.WebGraphQlHandler webGraphQlHandler,
GraphQlProperties properties,
HttpMessageConverters converters) |
HandlerMapping |
graphQlWebSocketMapping(org.springframework.graphql.server.webmvc.GraphQlWebSocketHandler handler,
GraphQlProperties properties) |
@Bean @ConditionalOnMissingBean public org.springframework.graphql.server.webmvc.GraphQlWebSocketHandler graphQlWebSocketHandler(org.springframework.graphql.server.WebGraphQlHandler webGraphQlHandler, GraphQlProperties properties, HttpMessageConverters converters)
@Bean public HandlerMapping graphQlWebSocketMapping(org.springframework.graphql.server.webmvc.GraphQlWebSocketHandler handler, GraphQlProperties properties)