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.UseGraphQLKickstartContextinstead
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDefaultGraphQLServletContext.BuilderDeprecated.
-
Constructor Summary
Constructors Modifier Constructor Description protectedDefaultGraphQLServletContext(org.dataloader.DataLoaderRegistry dataLoaderRegistry, javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static DefaultGraphQLServletContext.BuildercreateServletContext()Deprecated.static DefaultGraphQLServletContext.BuildercreateServletContext(org.dataloader.DataLoaderRegistry registry)Deprecated.java.util.List<javax.servlet.http.Part>getFileParts()Deprecated.UsedataFetchingEnvironment.getGraphQlContext().get(HttpServletRequest.class)instead to get the request and retrieve the file parts yourself.javax.servlet.http.HttpServletRequestgetHttpServletRequest()Deprecated.UsedataFetchingEnvironment.getGraphQlContext().get(HttpServletRequest.class)instead.javax.servlet.http.HttpServletResponsegetHttpServletResponse()Deprecated.UsedataFetchingEnvironment.getGraphQlContext().get(HttpServletResponse.class)instead.java.util.Map<java.lang.String,java.util.List<javax.servlet.http.Part>>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
-
-
-
-
Method Detail
-
createServletContext
public static DefaultGraphQLServletContext.Builder createServletContext(org.dataloader.DataLoaderRegistry registry)
Deprecated.
-
createServletContext
public static DefaultGraphQLServletContext.Builder createServletContext()
Deprecated.
-
getHttpServletRequest
@Deprecated public javax.servlet.http.HttpServletRequest getHttpServletRequest()
Deprecated.UsedataFetchingEnvironment.getGraphQlContext().get(HttpServletRequest.class)instead. Since 13.0.0- Specified by:
getHttpServletRequestin interfaceGraphQLServletContext
-
getHttpServletResponse
@Deprecated public javax.servlet.http.HttpServletResponse getHttpServletResponse()
Deprecated.UsedataFetchingEnvironment.getGraphQlContext().get(HttpServletResponse.class)instead. Since 13.0.0- Specified by:
getHttpServletResponsein interfaceGraphQLServletContext
-
getFileParts
@Deprecated public java.util.List<javax.servlet.http.Part> 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 public java.util.Map<java.lang.String,java.util.List<javax.servlet.http.Part>> 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
-
-