SMILA 1.0 API documentation

org.eclipse.smila.http.client.impl.base
Interface HttpRequestExecutor

All Known Implementing Classes:
DefaultHttpRequestExecutor, FailoverHttpRequestExecutor

public interface HttpRequestExecutor

Interface for objects that actually execute the HTTP requests in the RestClient.


Method Summary
 HttpResponse execute(HttpClient client, HttpUriRequest request)
          execute request.
 java.lang.String getHostAndPort()
          The host and port this executor is currently talking to.
 

Method Detail

getHostAndPort

java.lang.String getHostAndPort()
The host and port this executor is currently talking to.


execute

HttpResponse execute(HttpClient client,
                     HttpUriRequest request)
                     throws java.io.IOException
execute request.

Throws:
java.io.IOException

SMILA 1.0 API documentation