Class 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DefaultGraphQLExecutionInputCustomizer

        public DefaultGraphQLExecutionInputCustomizer()
    • 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:
        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