retrofit.client
Interface Client

All Known Implementing Classes:
AndroidApacheClient, ApacheClient, OkClient, UrlConnectionClient

public interface Client

Abstraction of an HTTP client which can execute Requests. This class must be thread-safe as invocation may happen from multiple threads simultaneously.


Nested Class Summary
static interface Client.Provider
          Deferred means of obtaining a Client.
 
Method Summary
 Response execute(Request request)
          Synchronously execute an HTTP represented by request and encapsulate all response data into a Response instance.
 

Method Detail

execute

Response execute(Request request)
                 throws IOException
Synchronously execute an HTTP represented by request and encapsulate all response data into a Response instance.

Throws:
IOException


Copyright © 2013 Square, Inc.. All Rights Reserved.