@Controller(value="${graphql.graphiql.path:/graphiql}")
@Requires(property="graphql.graphiql.enabled",
value="true",
defaultValue="false")
public class GraphiQLController
extends java.lang.Object
| Constructor and Description |
|---|
GraphiQLController(GraphQLConfiguration graphQLConfiguration,
GraphQLWsConfiguration graphQLWsConfiguration,
io.micronaut.core.io.ResourceResolver resourceResolver,
io.micronaut.core.convert.ConversionService conversionService)
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
get()
Handles the incoming GraphiQL
GET requests. |
public GraphiQLController(GraphQLConfiguration graphQLConfiguration, GraphQLWsConfiguration graphQLWsConfiguration, io.micronaut.core.io.ResourceResolver resourceResolver, io.micronaut.core.convert.ConversionService conversionService)
graphQLConfiguration - the GraphQLConfiguration instancegraphQLWsConfiguration - the GraphQLWsConfiguration instanceresourceResolver - the ResourceResolver instanceconversionService - the ConversionService instance