@AutoConfiguration(after={GraphQlAutoConfiguration.class,RSocketMessagingAutoConfiguration.class}) @ConditionalOnClass(value={graphql.GraphQL.class,org.springframework.graphql.execution.GraphQlSource.class,io.rsocket.core.RSocketServer.class,reactor.netty.http.server.HttpServer.class}) @ConditionalOnBean(value={org.springframework.messaging.rsocket.annotation.support.RSocketMessageHandler.class,org.springframework.graphql.data.method.annotation.support.AnnotatedControllerConfigurer.class}) @ConditionalOnProperty(prefix="spring.graphql.rsocket", name="mapping") public class GraphQlRSocketAutoConfiguration extends Object
Auto-configuration
for enabling Spring GraphQL over
RSocket.Constructor and Description |
---|
GraphQlRSocketAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
org.springframework.boot.autoconfigure.graphql.rsocket.GraphQlRSocketController |
graphQlRSocketController(org.springframework.graphql.server.GraphQlRSocketHandler handler) |
org.springframework.graphql.server.GraphQlRSocketHandler |
graphQlRSocketHandler(org.springframework.graphql.ExecutionGraphQlService graphQlService,
ObjectProvider<org.springframework.graphql.server.RSocketGraphQlInterceptor> interceptorsProvider,
com.fasterxml.jackson.databind.ObjectMapper objectMapper) |
@Bean @ConditionalOnMissingBean public org.springframework.graphql.server.GraphQlRSocketHandler graphQlRSocketHandler(org.springframework.graphql.ExecutionGraphQlService graphQlService, ObjectProvider<org.springframework.graphql.server.RSocketGraphQlInterceptor> interceptorsProvider, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
@Bean @ConditionalOnMissingBean public org.springframework.boot.autoconfigure.graphql.rsocket.GraphQlRSocketController graphQlRSocketController(org.springframework.graphql.server.GraphQlRSocketHandler handler)