@Singleton @Path(value="/graphql-files") public class FilesResource extends Object
AdminSchemaBuilder,
AdminResource| Constructor and Description |
|---|
FilesResource() |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
getCqlDirectives() |
javax.ws.rs.core.Response |
getSchema(String token,
String keyspace,
String version,
javax.servlet.http.HttpServletRequest httpRequest,
StargateBridgeClient bridge) |
@GET @Path(value="/cql_directives.graphql") @Produces(value="text/plain") public javax.ws.rs.core.Response getCqlDirectives()
@GET
@Path(value="/keyspace/{keyspaceName}.graphql")
@Produces(value="text/plain")
public javax.ws.rs.core.Response getSchema(@HeaderParam(value="X-Cassandra-Token")
String token,
@PathParam(value="keyspaceName")
String keyspace,
@QueryParam(value="version")
String version,
@Context
javax.servlet.http.HttpServletRequest httpRequest,
@Context
StargateBridgeClient bridge)
Copyright © 2022. All rights reserved.