@Path(value="/{version}/{species}/feature/id") @Produces(value="application/json") public class IdWSServer extends GenericRestWSServer
assembly, cellBaseConfiguration, count, dbAdaptorFactory, exclude, httpServletRequest, include, initialized, jsonObjectMapper, jsonObjectWriter, limit, logger, monitor, outputFormat, params, query, queryOptions, SERVICE_START_DATE, skip, skipCount, sort, species, startTime, uriInfo, version, WATCH
Constructor and Description |
---|
IdWSServer(String version,
String species,
javax.ws.rs.core.UriInfo uriInfo,
javax.servlet.http.HttpServletRequest hsr) |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
defaultMethod() |
javax.ws.rs.core.Response |
getAllXrefsByFeatureId(String ids,
String dbname) |
javax.ws.rs.core.Response |
getByContainsQuery(String id) |
javax.ws.rs.core.Response |
getByFeatureIdInfo(String id) |
javax.ws.rs.core.Response |
getByLikeQuery(String id) |
javax.ws.rs.core.Response |
getDBNames() |
javax.ws.rs.core.Response |
getGeneByEnsemblId(String id) |
javax.ws.rs.core.Response |
getModel() |
javax.ws.rs.core.Response |
help() |
createErrorResponse, createErrorResponse, createJsonResponse, createModelResponse, createOkResponse, createOkResponse, createOkResponse, createQueries, createStringResponse, generateResponse, generateResponse, logQuery, parseQueryParams
public IdWSServer(@PathParam(value="version") String version, @PathParam(value="species") String species, @Context javax.ws.rs.core.UriInfo uriInfo, @Context javax.servlet.http.HttpServletRequest hsr) throws VersionException, SpeciesException, IOException, CellbaseException
@GET @Path(value="/model") public javax.ws.rs.core.Response getModel()
@GET @Path(value="/{id}/info") public javax.ws.rs.core.Response getByFeatureIdInfo(@PathParam(value="id") String id)
@GET @Path(value="/{id}/xref") public javax.ws.rs.core.Response getAllXrefsByFeatureId(@PathParam(value="id") String ids, @DefaultValue(value="") @QueryParam(value="dbname") String dbname)
@GET @Path(value="/{id}/starts_with") public javax.ws.rs.core.Response getByLikeQuery(@PathParam(value="id") String id)
@GET @Path(value="/{id}/contains") public javax.ws.rs.core.Response getByContainsQuery(@PathParam(value="id") String id)
@GET @Path(value="/{id}/gene") public javax.ws.rs.core.Response getGeneByEnsemblId(@PathParam(value="id") String id)
@GET @Path(value="/dbnames") public javax.ws.rs.core.Response getDBNames()
@GET public javax.ws.rs.core.Response defaultMethod()
defaultMethod
in class GenericRestWSServer
@GET @Path(value="/help") public javax.ws.rs.core.Response help()
help
in interface IWSServer
help
in class GenericRestWSServer
Copyright © 2019. All rights reserved.