public class AxisBatchJobUploadBodyProvider extends Object implements BatchJobUploadBodyProvider
BatchJobUploadBodyProvider for Axis requests.| Constructor and Description |
|---|
AxisBatchJobUploadBodyProvider(Iterable<String> namespaceUris) |
| Modifier and Type | Method and Description |
|---|---|
com.google.api.client.http.ByteArrayContent |
getHttpContent(BatchJobMutateRequestInterface request,
boolean isFirstRequest,
boolean isLastRequest)
Returns the batch job upload operations as
ByteArrayContent. |
public com.google.api.client.http.ByteArrayContent getHttpContent(BatchJobMutateRequestInterface request, boolean isFirstRequest, boolean isLastRequest) throws BatchJobException
BatchJobUploadBodyProviderByteArrayContent. The return type
is ByteArrayContent to allow utilities to get the content length or log
the contents without consuming the stream.getHttpContent in interface BatchJobUploadBodyProviderrequest - the mutate requestisFirstRequest - if this is the first request (for resumable uploads)isLastRequest - if this is the last request (for resumable uploads)ByteArrayContentBatchJobExceptionCopyright © 2020. All Rights Reserved.