@Singleton @Path(value="/graphql-admin") @Produces(value="application/json") public class AdminResource extends GraphqlResourceBase
APPLICATION_GRAPHQL, graphqlCache| Constructor and Description |
|---|
AdminResource(GraphqlCache graphqlCache) |
| Modifier and Type | Method and Description |
|---|---|
void |
get(String query,
String operationName,
String variables,
javax.servlet.http.HttpServletRequest httpRequest,
javax.ws.rs.container.AsyncResponse asyncResponse,
StargateBridgeClient bridge) |
void |
postGraphql(String query,
javax.servlet.http.HttpServletRequest httpRequest,
javax.ws.rs.container.AsyncResponse asyncResponse,
StargateBridgeClient bridge) |
void |
postJson(GraphqlJsonBody jsonBody,
String queryFromUrl,
javax.servlet.http.HttpServletRequest httpRequest,
javax.ws.rs.container.AsyncResponse asyncResponse,
StargateBridgeClient bridge) |
void |
postMultipartJson(GraphqlJsonBody graphqlPart,
org.glassfish.jersey.media.multipart.FormDataMultiPart allParts,
javax.servlet.http.HttpServletRequest httpRequest,
javax.ws.rs.container.AsyncResponse asyncResponse,
StargateBridgeClient bridge) |
executeAsync, get, graphqlError, graphqlError, isAuthorized, postGraphql, postJson, postMultipartJson@Inject public AdminResource(GraphqlCache graphqlCache)
@GET
public void get(@QueryParam(value="query")
String query,
@QueryParam(value="operationName")
String operationName,
@QueryParam(value="variables")
String variables,
@Context
javax.servlet.http.HttpServletRequest httpRequest,
@Suspended
javax.ws.rs.container.AsyncResponse asyncResponse,
@Context
StargateBridgeClient bridge)
@POST @Consumes(value="application/json") public void postJson(GraphqlJsonBody jsonBody, @QueryParam(value="query") String queryFromUrl, @Context javax.servlet.http.HttpServletRequest httpRequest, @Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @Context StargateBridgeClient bridge)
@POST @Consumes(value="multipart/form-data") public void postMultipartJson(GraphqlJsonBody graphqlPart, org.glassfish.jersey.media.multipart.FormDataMultiPart allParts, @Context javax.servlet.http.HttpServletRequest httpRequest, @Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @Context StargateBridgeClient bridge)
@POST @Consumes(value="application/graphql") public void postGraphql(String query, @Context javax.servlet.http.HttpServletRequest httpRequest, @Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @Context StargateBridgeClient bridge)
Copyright © 2022. All rights reserved.