public class XosApi extends Object
| Modifier and Type | Field and Description |
|---|---|
protected XosAccess |
access |
protected String |
baseUrl |
protected javax.ws.rs.client.Client |
client |
protected static String |
EMPTY_JSON_STRING |
protected static String |
EMPTY_STRING |
| Constructor and Description |
|---|
XosApi(String baseUrl,
XosAccess xosAccess)
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
XosAccess |
access()
Returns the access of this api.
|
String |
baseUrl()
Returns the base url of this api.
|
String |
restGet(String path)
Returns response of the REST get operation with a given additional path.
|
protected static final String EMPTY_STRING
protected static final String EMPTY_JSON_STRING
protected final String baseUrl
protected final XosAccess access
protected final javax.ws.rs.client.Client client