S - the type of service stubspublic interface ProxyDelegate<S>
Calls to service endpoints on behalf a service proxy.
Delegates obtain the addresses of service endpoints according to some strategy, using information
found in their ProxyConfig.
Call| Modifier and Type | Method and Description |
|---|---|
ProxyConfig<?,S> |
config()
Returns the configuration of the proxy.
|
<V> V |
make(Call<S,V> call)
Makes a
Call to a given service endpoint. |
<V> V make(Call<S,V> call) throws Exception
Call to a given service endpoint.V - the type of the value returned from the callcall - the callException - if the call failsProxyConfig<?,S> config()
Copyright © 2016. All Rights Reserved.