public class JaxWsBatchJobUploadBodyProvider extends Object implements BatchJobUploadBodyProvider
BatchJobUploadBodyProvider for JAX-WS.| Constructor and Description |
|---|
JaxWsBatchJobUploadBodyProvider(String apiVersion) |
| 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 JaxWsBatchJobUploadBodyProvider(String apiVersion)
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 © 2016. All Rights Reserved.