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 Object
The GraphiQL controller serving the GraphiQL HTML page.
- Since:
 - 1.0
 - Author:
 - Marcel Overdijk, James Kleeh
 
- 
Constructor Summary
ConstructorsConstructorDescriptionGraphiQLController(GraphQLConfiguration graphQLConfiguration, GraphQLApolloWsConfiguration graphQLApolloWsConfiguration, io.micronaut.core.io.ResourceResolver resourceResolver, io.micronaut.core.convert.ConversionService conversionService) Default constructor. - 
Method Summary
 
- 
Constructor Details
- 
GraphiQLController
public GraphiQLController(GraphQLConfiguration graphQLConfiguration, GraphQLApolloWsConfiguration graphQLApolloWsConfiguration, io.micronaut.core.io.ResourceResolver resourceResolver, io.micronaut.core.convert.ConversionService conversionService) Default constructor.- Parameters:
 graphQLConfiguration- theGraphQLConfigurationinstancegraphQLApolloWsConfiguration- theGraphQLApolloWsConfigurationinstanceresourceResolver- theResourceResolverinstanceconversionService- theConversionServiceinstance
 
 - 
 - 
Method Details
- 
get
Handles the incoming GraphiQLGETrequests.- Returns:
 - the GraphiQL page
 
 
 -