com.netflix.client
Interface IClient<S extends ClientRequest,T extends IResponse>

All Known Implementing Classes:
AbstractLoadBalancerAwareClient

public interface IClient<S extends ClientRequest,T extends IResponse>

A client that can execute a single request.


Method Summary
 T execute(S request)
          Execute the request and return the response.
 

Method Detail

execute

T execute(S request)
                            throws java.lang.Exception
Execute the request and return the response. It is expected that there is no retry and all exceptions are thrown directly.

Throws:
java.lang.Exception