Removal of generic REST calls from Java client

Prevents users of the Java client from supplying URIs or URLs to the client.