クラス GraphQlRSocketAutoConfiguration
java.lang.ObjectSE
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 ObjectSE
RSocket を介して Spring GraphQL を有効にするための
Auto-configuration
。- 導入:
- 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)