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 Summary
-
Method Summary
-
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 interfaceGraphQLExecutionInputCustomizer
- Parameters:
executionInput
- the execution inputhttpRequest
- the HTTP requesthttpResponse
- the mutable HTTP response, can be null when using websocket- Returns:
- the GraphQL context object
-