@RemoteResource
The {@link oajrc.remote.RemoteResource @RemoteResource} annotation is used on your interface class to identify it as a REST proxy interface.
The
The {@link oajrc.remote.RemoteResource#path @RemoteResource(path)} annotation is used to define the HTTP path of the REST service.
The path can be an absolute path to your REST service.
PetStore p = client.getRemoteResource(PetStore.
When a relative path is specified, it's relative to the root-url defined on the RestClient
used to instantiate the interface.
RestClient client = RestClient.
When no path is specified, the root-url defined on the RestClient
is used.
RestClient client = RestClient.