public interface Client
Requests. This class must be thread-safe as invocation may happen from multiple threads simultaneously.
|Modifier and Type||Interface and Description|
Deferred means of obtaining a
|Modifier and Type||Method and Description|
Synchronously execute an HTTP represented by
Response execute(Request request) throws java.io.IOException
requestand encapsulate all response data into a
Note: If the request has a body, its length and mime type will have already been added to the
header list as
Content-Type, respectively. Do NOT alter
these values as they might have been set as a result of an application-level configuration.
Copyright © 2014 Square, Inc.. All Rights Reserved.