public class GenericClient extends ParentRestClient<org.opencb.commons.datastore.core.ObjectMap>
assembly, category, clazz, client, configuration, DEFAULT_NUM_THREADS, EMPTY_STRING, jsonObjectMapper, LIMIT, logger, META, REST, REST_CALL_BATCH_SIZE, species, subcategory, WEBSERVICES
Constructor and Description |
---|
GenericClient(String species,
String assembly,
ClientConfiguration clientConfiguration) |
Modifier and Type | Method and Description |
---|---|
<T> CellBaseDataResponse<T> |
get(String category,
String resource,
org.opencb.commons.datastore.core.QueryOptions queryOptions,
Class<T> clazz) |
<T> CellBaseDataResponse<T> |
get(String category,
String subcategory,
String ids,
String resource,
org.opencb.commons.datastore.core.QueryOptions queryOptions,
Class<T> clazz) |
protected javax.ws.rs.client.WebTarget |
getBaseUrl(List<String> hosts,
String version) |
public GenericClient(String species, String assembly, ClientConfiguration clientConfiguration)
public <T> CellBaseDataResponse<T> get(String category, String resource, org.opencb.commons.datastore.core.QueryOptions queryOptions, Class<T> clazz) throws IOException
IOException
public <T> CellBaseDataResponse<T> get(String category, String subcategory, String ids, String resource, org.opencb.commons.datastore.core.QueryOptions queryOptions, Class<T> clazz) throws IOException
IOException
protected javax.ws.rs.client.WebTarget getBaseUrl(List<String> hosts, String version)
getBaseUrl
in class ParentRestClient<org.opencb.commons.datastore.core.ObjectMap>
Copyright © 2019. All rights reserved.