String args = "name=" + URLEncoder.encode(name, "ISO-8859-1") +
"&session=" + URLEncoder.encode(this.session, "ISO-8859-1");
String valueString = Request.Get(urlBase + "/get?" + args)
.addHeader("Authorization", auth)
.execute().returnContent().asString();
NamespaceBinding binding = mapper.readValue(valueString, NamespaceBinding.class);
if (!binding.getDefined()) {
throw new RuntimeException("name not defined: " + name);
}
return binding.getValue();
}