public class DefaultWebResourceFactoryImpl extends Object implements WebResourceFactory
| Constructor and Description |
|---|
DefaultWebResourceFactoryImpl(String url,
String key) |
DefaultWebResourceFactoryImpl(String url,
String key,
boolean debug) |
| Modifier and Type | Method and Description |
|---|---|
com.sun.jersey.api.client.WebResource |
get() |
String |
getApiKey() |
String |
getGalaxyUrl()
Deprecated.
|
protected com.sun.jersey.api.client.Client |
getJerseyClient()
Return a configured Jersey client for Galaxy API code to interact with.
|
protected com.sun.jersey.api.client.WebResource |
getRawWebResource()
Build Jersey client, and get
WebResource targeting Galaxy API. |
String |
getUrl() |
public static String API_PATH
public DefaultWebResourceFactoryImpl(String url, String key, boolean debug)
public com.sun.jersey.api.client.WebResource get()
get in interface WebResourceFactorypublic String getUrl()
getUrl in interface WebResourceFactory@Deprecated public String getGalaxyUrl()
getGalaxyUrl in interface WebResourceFactorypublic String getApiKey()
getApiKey in interface WebResourceFactoryprotected com.sun.jersey.api.client.Client getJerseyClient()
protected com.sun.jersey.api.client.WebResource getRawWebResource()
WebResource targeting Galaxy API.
Use public method get() to get higher level WebResource with key populated
for instance.Copyright © 2014. All rights reserved.