Class DefaultGraphQLExecutionInputCustomizer
- java.lang.Object
-
- io.micronaut.configuration.graphql.DefaultGraphQLExecutionInputCustomizer
-
- All Implemented Interfaces:
GraphQLExecutionInputCustomizer
@Singleton @Requires(missingBeans=GraphQLExecutionInputCustomizer.class) public class DefaultGraphQLExecutionInputCustomizer extends java.lang.Object implements GraphQLExecutionInputCustomizer
The default implementation for customizing GraphQL execution inputs.- Since:
- 1.0
-
-
Constructor Summary
Constructors Constructor Description DefaultGraphQLExecutionInputCustomizer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.reactivestreams.Publisher<graphql.ExecutionInput>customize(graphql.ExecutionInput executionInput, io.micronaut.http.HttpRequest httpRequest, io.micronaut.http.MutableHttpResponse<java.lang.String> httpResponse)Customizes the GraphQL execution input.
-
-
-
Method Detail
-
customize
public org.reactivestreams.Publisher<graphql.ExecutionInput> customize(graphql.ExecutionInput executionInput, io.micronaut.http.HttpRequest httpRequest, @Nullable io.micronaut.http.MutableHttpResponse<java.lang.String> httpResponse)Customizes the GraphQL execution input.- Specified by:
customizein interfaceGraphQLExecutionInputCustomizer- Parameters:
executionInput- the execution inputhttpRequest- the HTTP requesthttpResponse- the mutable HTTP response, can be null when using websocket- Returns:
- the GraphQL context object
-
-