@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.web.webmvc.GraphQlWebSocketHandler |
graphQlWebSocketHandler(org.springframework.graphql.web.WebGraphQlHandler webGraphQlHandler,
GraphQlProperties properties,
HttpMessageConverters converters) |
HandlerMapping |
graphQlWebSocketMapping(org.springframework.graphql.web.webmvc.GraphQlWebSocketHandler handler,
GraphQlProperties properties) |
@Bean @ConditionalOnMissingBean public org.springframework.graphql.web.webmvc.GraphQlWebSocketHandler graphQlWebSocketHandler(org.springframework.graphql.web.WebGraphQlHandler webGraphQlHandler, GraphQlProperties properties, HttpMessageConverters converters)
@Bean public HandlerMapping graphQlWebSocketMapping(org.springframework.graphql.web.webmvc.GraphQlWebSocketHandler handler, GraphQlProperties properties)