* @param <T>
* @return
*/
public <T> ResourceURI create(T object) {
String url = buildURL(buildResourceURI(object.getClass(), null));
Response response = transport.post(url, gson.toJson(object));
if (200 <= response.responseCode && response.responseCode < 300) {
return buildResourceURIFromLocation(response.location);
}
else {
LOG.info("create => " + response);