@Path(value="/{version}/{species}/feature/protein") @Produces(value="application/json") public class ProteinWSServer 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 |
---|
ProteinWSServer(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 |
getAll() |
javax.ws.rs.core.Response |
getGene(String query) |
javax.ws.rs.core.Response |
getInfoByEnsemblId(String id) |
javax.ws.rs.core.Response |
getModel() |
javax.ws.rs.core.Response |
getproteinByName(String id)
Deprecated.
|
javax.ws.rs.core.Response |
getReference(String query)
Deprecated.
|
javax.ws.rs.core.Response |
getSequence(String proteinId) |
javax.ws.rs.core.Response |
getSubstitutionScores(String id) |
javax.ws.rs.core.Response |
getTranscript(String query) |
javax.ws.rs.core.Response |
help() |
createErrorResponse, createErrorResponse, createJsonResponse, createModelResponse, createOkResponse, createOkResponse, createOkResponse, createQueries, createStringResponse, generateResponse, generateResponse, logQuery, parseQueryParams
public ProteinWSServer(@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="/{proteinId}/info") public javax.ws.rs.core.Response getInfoByEnsemblId(@PathParam(value="proteinId") String id)
@GET @Path(value="/search") public javax.ws.rs.core.Response getAll()
@GET @Path(value="/{proteinId}/substitution_scores") public javax.ws.rs.core.Response getSubstitutionScores(@PathParam(value="proteinId") String id)
@GET @Path(value="/{proteinId}/name") @Deprecated public javax.ws.rs.core.Response getproteinByName(@PathParam(value="proteinId") String id)
@GET @Path(value="/{proteinId}/gene") public javax.ws.rs.core.Response getGene(@PathParam(value="proteinId") String query)
@GET @Path(value="/{proteinId}/transcript") public javax.ws.rs.core.Response getTranscript(@PathParam(value="proteinId") String query)
@Deprecated @GET @Path(value="/{proteinId}/reference") public javax.ws.rs.core.Response getReference(@PathParam(value="proteinId") String query)
@GET @Path(value="/{proteinId}/sequence") public javax.ws.rs.core.Response getSequence(@PathParam(value="proteinId") String proteinId)
@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.