Class GraphQLSpringServerWebExchangeContext

java.lang.Object
graphql.kickstart.execution.context.DefaultGraphQLContext
graphql.kickstart.spring.GraphQLSpringServerWebExchangeContext
All Implemented Interfaces:
graphql.kickstart.execution.context.GraphQLKickstartContext, GraphQLSpringContext

public class GraphQLSpringServerWebExchangeContext extends graphql.kickstart.execution.context.DefaultGraphQLContext implements GraphQLSpringContext
  • Constructor Summary

    Constructors
    Constructor
    Description
    GraphQLSpringServerWebExchangeContext(org.dataloader.DataLoaderRegistry dataLoaderRegistry, @NonNull org.springframework.web.server.ServerWebExchange serverWebExchange)
     
    GraphQLSpringServerWebExchangeContext(org.springframework.web.server.ServerWebExchange serverWebExchange)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.springframework.web.server.ServerWebExchange
    Deprecated.
    Use dataFetchingEnvironment.getGraphQlContext().get(ServerWebExchange.class) instead.

    Methods inherited from class graphql.kickstart.execution.context.DefaultGraphQLContext

    getDataLoaderRegistry, getMapOfContext, put

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface graphql.kickstart.execution.context.GraphQLKickstartContext

    getDataLoaderRegistry, getMapOfContext
  • Constructor Details

    • GraphQLSpringServerWebExchangeContext

      public GraphQLSpringServerWebExchangeContext(org.springframework.web.server.ServerWebExchange serverWebExchange)
    • GraphQLSpringServerWebExchangeContext

      public GraphQLSpringServerWebExchangeContext(org.dataloader.DataLoaderRegistry dataLoaderRegistry, @NonNull @NonNull org.springframework.web.server.ServerWebExchange serverWebExchange)
  • Method Details

    • getServerWebExchange

      @Deprecated public org.springframework.web.server.ServerWebExchange getServerWebExchange()
      Deprecated.
      Use dataFetchingEnvironment.getGraphQlContext().get(ServerWebExchange.class) instead. Since 13.0.0
      Specified by:
      getServerWebExchange in interface GraphQLSpringContext