Package 

Interface FederatedGraphQLContext

  • All Implemented Interfaces:
    com.apollographql.federation.graphqljava.tracing.HTTPRequestHeaders , com.expediagroup.graphql.generator.execution.GraphQLContext

    @Deprecated(message = "The generic context object is deprecated in favor of the context map", replaceWith = @ReplaceWith(imports = {}, expression = "graphql.GraphQLContext")) 
    public interface FederatedGraphQLContext
     implements GraphQLContext, HTTPRequestHeaders
                        

    Apollo federation needs access to the HTTP headers to inspect if the request came from the Apollo Gateway. That means we need a special interface for the federation context.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      • Methods inherited from class com.expediagroup.graphql.generator.federation.execution.FederatedGraphQLContext

        getHTTPRequestHeader, graphQLCoroutineContext
      • Methods inherited from class java.lang.Object

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

    • Method Detail