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
BatchJobUploadBodyProvider
ByteArrayContent
. The return type
is ByteArrayContent
to allow utilities to get the content length or log
the contents without consuming the stream.getHttpContent
in interface BatchJobUploadBodyProvider
request
- the mutate requestisFirstRequest
- if this is the first request (for resumable uploads)isLastRequest
- if this is the last request (for resumable uploads)ByteArrayContent
BatchJobException
Copyright © 2018. All Rights Reserved.