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
ConstructorDescriptionGraphiQLController
(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
- theGraphQLConfiguration
instancegraphQLApolloWsConfiguration
- theGraphQLApolloWsConfiguration
instanceresourceResolver
- theResourceResolver
instanceconversionService
- theConversionService
instance
-
-
Method Details
-
get
Handles the incoming GraphiQLGET
requests.- Returns:
- the GraphiQL page
-