/** Provides URIs for the various REST operations */
protected UriBuilder uriBuilder;
public void find(int id, ResourceResponseHandler handler) {
RequestBuilder builder = buildGet(id);
ResourceResponseCallback requestCallback = new ResourceResponseCallback(factory, handler);
try {
Request response = builder.sendRequest(null, requestCallback);
} catch (RequestException e) {
handler.onError(null, e);
}
}