Class DefaultGraphQLServletContext
java.lang.Object
graphql.kickstart.execution.context.DefaultGraphQLContext
graphql.kickstart.servlet.context.DefaultGraphQLServletContext
- All Implemented Interfaces:
graphql.kickstart.execution.context.GraphQLKickstartContext,GraphQLServletContext
public class DefaultGraphQLServletContext
extends graphql.kickstart.execution.context.DefaultGraphQLContext
implements GraphQLServletContext
Deprecated.
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefaultGraphQLServletContext(org.dataloader.DataLoaderRegistry dataLoaderRegistry, jakarta.servlet.http.HttpServletRequest httpServletRequest, jakarta.servlet.http.HttpServletResponse httpServletResponse) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.createServletContext(org.dataloader.DataLoaderRegistry registry) Deprecated.List<jakarta.servlet.http.Part>Deprecated.UsedataFetchingEnvironment.getGraphQlContext().get(HttpServletRequest.class)instead to get the request and retrieve the file parts yourself.jakarta.servlet.http.HttpServletRequestDeprecated.UsedataFetchingEnvironment.getGraphQlContext().get(HttpServletRequest.class)instead.jakarta.servlet.http.HttpServletResponseDeprecated.UsedataFetchingEnvironment.getGraphQlContext().get(HttpServletResponse.class)instead.getParts()Deprecated.UsedataFetchingEnvironment.getGraphQlContext().get(HttpServletRequest.class)instead to get the request and retrieve the parts yourself.Methods inherited from class graphql.kickstart.execution.context.DefaultGraphQLContext
getDataLoaderRegistry, getMapOfContext, putMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface graphql.kickstart.execution.context.GraphQLKickstartContext
getDataLoaderRegistry, getMapOfContext
-
Constructor Details
-
DefaultGraphQLServletContext
protected DefaultGraphQLServletContext(org.dataloader.DataLoaderRegistry dataLoaderRegistry, jakarta.servlet.http.HttpServletRequest httpServletRequest, jakarta.servlet.http.HttpServletResponse httpServletResponse) Deprecated.
-
-
Method Details
-
createServletContext
public static DefaultGraphQLServletContext.Builder createServletContext(org.dataloader.DataLoaderRegistry registry) Deprecated. -
createServletContext
Deprecated. -
getHttpServletRequest
Deprecated.UsedataFetchingEnvironment.getGraphQlContext().get(HttpServletRequest.class)instead. Since 13.0.0- Specified by:
getHttpServletRequestin interfaceGraphQLServletContext
-
getHttpServletResponse
Deprecated.UsedataFetchingEnvironment.getGraphQlContext().get(HttpServletResponse.class)instead. Since 13.0.0- Specified by:
getHttpServletResponsein interfaceGraphQLServletContext
-
getFileParts
Deprecated.UsedataFetchingEnvironment.getGraphQlContext().get(HttpServletRequest.class)instead to get the request and retrieve the file parts yourself. Since 13.0.0- Specified by:
getFilePartsin interfaceGraphQLServletContext
-
getParts
Deprecated.UsedataFetchingEnvironment.getGraphQlContext().get(HttpServletRequest.class)instead to get the request and retrieve the parts yourself. Since 13.0.0- Specified by:
getPartsin interfaceGraphQLServletContext
-
GraphQLKickstartContextinstead