Class GraphiQLController
- java.lang.Object
-
- io.micronaut.configuration.graphql.GraphiQLController
-
@Controller("${graphql.graphiql.path:/graphiql}") @Requires(property="graphql.graphiql.enabled", value="true", defaultValue="false") public class GraphiQLController extends java.lang.ObjectThe GraphiQL controller serving the GraphiQL HTML page.- Since:
- 1.0
-
-
Constructor Summary
Constructors Constructor Description GraphiQLController(GraphQLConfiguration graphQLConfiguration, GraphQLWsConfiguration graphQLWsConfiguration, io.micronaut.core.io.ResourceResolver resourceResolver, io.micronaut.core.convert.ConversionService conversionService)Default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Stringget()Handles the incoming GraphiQLGETrequests.
-
-
-
Constructor Detail
-
GraphiQLController
public GraphiQLController(GraphQLConfiguration graphQLConfiguration, GraphQLWsConfiguration graphQLWsConfiguration, io.micronaut.core.io.ResourceResolver resourceResolver, io.micronaut.core.convert.ConversionService conversionService)
Default constructor.- Parameters:
graphQLConfiguration- theGraphQLConfigurationinstancegraphQLWsConfiguration- theGraphQLWsConfigurationinstanceresourceResolver- theResourceResolverinstanceconversionService- theConversionServiceinstance
-
-