/**
* Performs a REST GET operation on the given (relative) URL, using the Admin API.
* @param relativeUrl the Relative URL to the requested object. The rest server IP and port are not required.<p/> example: "processingUnits/Names/default.cassandra" will get the object named "dafault.cassandra" from the list of all processing units.
* @return An object, the response received from the Admin API.
* @throws RestException Reporting errors of all types (IO, HTTP, rest etc.)
*/
public final Map<String,Object> getAdminData(final String relativeUrl) throws RestException {
final String url=getFullUrl("admin/" + relativeUrl);
logger.finer(MSG_PERFORMING_HTTP_GET + url);
final HttpGet httpMethod=new HttpGet(url);
return readHttpAdminMethod(httpMethod);
}

Example 13

From project conference-mobile-app, under directory /android-app/src/com/google/android/apps/iosched/io/.