类 GraphQlRSocketAutoConfiguration
java.lang.Object
org.springframework.boot.autoconfigure.graphql.rsocket.GraphQlRSocketAutoConfiguration
@AutoConfiguration(after={GraphQlAutoConfiguration.class,RSocketMessagingAutoConfiguration.class})
@ConditionalOnClass({graphql.GraphQL.class,org.springframework.graphql.execution.GraphQlSource.class,io.rsocket.core.RSocketServer.class,reactor.netty.http.server.HttpServer.class})
@ConditionalOnBean({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.- 从以下版本开始:
- 2.7.0
- 作者:
- Brian Clozel
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明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> interceptors, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
构造器详细资料
-
GraphQlRSocketAutoConfiguration
public GraphQlRSocketAutoConfiguration()
-
-
方法详细资料
-
graphQlRSocketHandler
@Bean @ConditionalOnMissingBean public org.springframework.graphql.server.GraphQlRSocketHandler graphQlRSocketHandler(org.springframework.graphql.ExecutionGraphQlService graphQlService, ObjectProvider<org.springframework.graphql.server.RSocketGraphQlInterceptor> interceptors, com.fasterxml.jackson.databind.ObjectMapper objectMapper) -
graphQlRSocketController
@Bean @ConditionalOnMissingBean public org.springframework.boot.autoconfigure.graphql.rsocket.GraphQlRSocketController graphQlRSocketController(org.springframework.graphql.server.GraphQlRSocketHandler handler)
-