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
ConstructorsModifierConstructorDescriptionprotected
DefaultGraphQLServletContext
(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.HttpServletRequest
Deprecated.UsedataFetchingEnvironment.getGraphQlContext().get(HttpServletRequest.class)
instead.jakarta.servlet.http.HttpServletResponse
Deprecated.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, 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
-
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:
getHttpServletRequest
in interfaceGraphQLServletContext
-
getHttpServletResponse
Deprecated.UsedataFetchingEnvironment.getGraphQlContext().get(HttpServletResponse.class)
instead. Since 13.0.0- Specified by:
getHttpServletResponse
in 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:
getFileParts
in interfaceGraphQLServletContext
-
getParts
Deprecated.UsedataFetchingEnvironment.getGraphQlContext().get(HttpServletRequest.class)
instead to get the request and retrieve the parts yourself. Since 13.0.0- Specified by:
getParts
in interfaceGraphQLServletContext
-
GraphQLKickstartContext
instead