JCLOUDS-912: Remove GCS simpleUpload UploadBinder

This is not necessary; jclouds binds the Payload automatically;
jclouds binds the Payload automatically.
This commit is contained in:
Andrew Gaul 2016-06-02 22:33:54 -07:00
parent 2b02db4f22
commit 5d437312bf
1 changed files with 1 additions and 3 deletions

View File

@ -33,7 +33,6 @@ import javax.ws.rs.Produces;
import org.jclouds.Fallbacks.FalseOnNotFoundOr404;
import org.jclouds.Fallbacks.NullOnNotFoundOr404;
import org.jclouds.googlecloudstorage.binders.MultipartUploadBinder;
import org.jclouds.googlecloudstorage.binders.UploadBinder;
import org.jclouds.googlecloudstorage.domain.GoogleCloudStorageObject;
import org.jclouds.googlecloudstorage.domain.ListPageWithPrefixes;
import org.jclouds.googlecloudstorage.domain.RewriteResponse;
@ -187,10 +186,9 @@ public interface ObjectApi {
@QueryParams(keys = "uploadType", values = "media")
@Consumes(APPLICATION_JSON)
@Path("/upload/storage/v1/b/{bucket}/o")
@MapBinder(UploadBinder.class)
GoogleCloudStorageObject simpleUpload(@PathParam("bucket") String bucketName, @HeaderParam("Content-Type") String contentType,
@HeaderParam("Content-Length") Long contentLength, @PayloadParam("payload") Payload payload,
InsertObjectOptions Options);
InsertObjectOptions options);
/**
* Deletes an object and its metadata. Deletions are permanent if versioning is not enabled.