Package org.gcube.common.clients
Interface Call<S,R>
- Type Parameters:
S- the type of service stubsR- the type of values returned from the call
public interface Call<S,R>
A call to an endpoint of a given service.
Calls interact with service endpoints at addresses provided by clients.
- Author:
- Fabio Simeoni
-
Method Summary
-
Method Details
-
call
Calls a given service endpoint.- Parameters:
endpoint- a proxy of the endpoint- Returns:
- the value returned by the call
- Throws:
Exception- if the call fails
-