@Path(value="/graphql-schema") @Singleton public class DdlResource extends GraphqlResourceBase
APPLICATION_GRAPHQL, authorizationService, graphqlCache, persistence| Constructor and Description |
|---|
DdlResource(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) |
void |
postGraphql(String query,
javax.servlet.http.HttpServletRequest httpRequest,
javax.ws.rs.container.AsyncResponse asyncResponse) |
void |
postJson(GraphqlJsonBody jsonBody,
String queryFromUrl,
javax.servlet.http.HttpServletRequest httpRequest,
javax.ws.rs.container.AsyncResponse asyncResponse) |
executeAsync, get, isAuthorized, postGraphql, postJson, postMultipartJson, replyWithGraphqlError, replyWithGraphqlError@Inject public DdlResource(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)
@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)
@POST @Consumes(value="application/graphql") public void postGraphql(String query, @Context javax.servlet.http.HttpServletRequest httpRequest, @Suspended javax.ws.rs.container.AsyncResponse asyncResponse)
Copyright © 2022. All rights reserved.