public class GalaxyInstanceFactory extends Object
get
method or from an e-mail address and password using getFromCredentials
.
Finally get
can be supplied with a WebResourceFactory
to control
the connection parameters at a low level - this should not be needed under normal
circumstances and requires a greater knowledge of the underlying Jersey library
to use.Constructor and Description |
---|
GalaxyInstanceFactory() |
Modifier and Type | Method and Description |
---|---|
static GalaxyInstance |
get(String url,
String apiKey) |
static GalaxyInstance |
get(String url,
String apiKey,
boolean debug) |
static GalaxyInstance |
get(WebResourceFactory webResourceFactory) |
static GalaxyInstance |
getFromCredentials(String url,
String email,
String password) |
static GalaxyInstance |
getFromCredentials(String url,
String email,
String password,
boolean debug) |
public static GalaxyInstance get(String url, String apiKey)
public static GalaxyInstance get(String url, String apiKey, boolean debug)
public static GalaxyInstance getFromCredentials(String url, String email, String password)
public static GalaxyInstance getFromCredentials(String url, String email, String password, boolean debug)
public static GalaxyInstance get(WebResourceFactory webResourceFactory)
Copyright © 2014. All rights reserved.