}
}
public OauthClientApplication registerApplication(OauthClientApplication input) throws OauthClientException {
try {
OauthClientApplication r = bees.jsonPOJORequest(gcUrl + "/api/v2/applications/", input, OauthClientApplication.class, "POST");
r.owner = this;
return r;
} catch (IOException e) {
logger.log(Level.WARNING, "Failed to register an application", e);
return null;