Class DefaultGraphQLExecutionInputCustomizer

java.lang.Object
io.micronaut.configuration.graphql.DefaultGraphQLExecutionInputCustomizer
All Implemented Interfaces:
GraphQLExecutionInputCustomizer

@Singleton @Requires(missingBeans=GraphQLExecutionInputCustomizer.class) public class DefaultGraphQLExecutionInputCustomizer extends Object implements GraphQLExecutionInputCustomizer
The default implementation for customizing GraphQL execution inputs.
Since:
1.0
Author:
Marcel Overdijk
  • Constructor Details

    • DefaultGraphQLExecutionInputCustomizer

      public DefaultGraphQLExecutionInputCustomizer()
  • Method Details

    • customize

      public org.reactivestreams.Publisher<graphql.ExecutionInput> customize(graphql.ExecutionInput executionInput, io.micronaut.http.HttpRequest httpRequest, @Nullable @Nullable io.micronaut.http.MutableHttpResponse<String> httpResponse)
      Customizes the GraphQL execution input.
      Specified by:
      customize in interface GraphQLExecutionInputCustomizer
      Parameters:
      executionInput - the execution input
      httpRequest - the HTTP request
      httpResponse - the mutable HTTP response, can be null when using websocket
      Returns:
      the GraphQL context object