Package com.xero.api
Class ApiClient.JacksonJsonHttpContent
java.lang.Object
com.google.api.client.http.AbstractHttpContent
com.xero.api.ApiClient.JacksonJsonHttpContent
- All Implemented Interfaces:
com.google.api.client.http.HttpContent,com.google.api.client.util.StreamingContent
- Enclosing class:
ApiClient
public class ApiClient.JacksonJsonHttpContent
extends com.google.api.client.http.AbstractHttpContent
method for managing objects to be serialized
-
Constructor Summary
ConstructorsConstructorDescriptionJacksonJsonHttpContent(Object data) method for taking native object and serializing into JSON data for use by http client -
Method Summary
Methods inherited from class com.google.api.client.http.AbstractHttpContent
computeLength, computeLength, getCharset, getLength, getMediaType, getType, retrySupported, setMediaType
-
Constructor Details
-
JacksonJsonHttpContent
method for taking native object and serializing into JSON data for use by http client- Parameters:
data- Object
-
-
Method Details
-
writeTo
- Throws:
IOException
-