Interface StaticLargeObjectApi


@Beta @Consumes("application/json") @Path("/{objectName}") public interface StaticLargeObjectApi
Provides access to the OpenStack Object Storage (Swift) Static Large Object API features.

This API is new to jclouds and hence is in Beta. That means we need people to use it and give us feedback. Based on that feedback, minor changes to the interfaces may happen. This code will replace org.jclouds.openstack.swift.SwiftClient in jclouds 2.0 and it is recommended you adopt it sooner than later.

  • Method Details

    • replaceManifest

      @Named("staticLargeObject:replaceManifest") @PUT String replaceManifest(@PathParam("objectName") String objectName, List<Segment> segments, Map<String,String> metadata)
      Creates or updates a static large object's manifest.
      Parameters:
      objectName - corresponds to SwiftObject.getName().
      segments - ordered parts which will be concatenated upon download.
      metadata - corresponds to SwiftObject.getMetadata().
      Returns:
      SwiftObject.getEtag() of the object, which is the MD5 checksum of the concatenated ETag values of the segments.
    • replaceManifest

      @Named("staticLargeObject:replaceManifest") @PUT String replaceManifest(@PathParam("objectName") String objectName, List<Segment> segments, Map<String,String> metadata, Map<String,String> headers)
      Creates or updates a static large object's manifest.
      Parameters:
      objectName - corresponds to SwiftObject.getName().
      segments - ordered parts which will be concatenated upon download.
      metadata - corresponds to SwiftObject.getMetadata().
      headers - Binds the map to headers, without prefixing/escaping the header name/key.
      Returns:
      SwiftObject.getEtag() of the object, which is the MD5 checksum of the concatenated ETag values of the segments.
    • delete

      @Named("staticLargeObject:delete") @DELETE DeleteStaticLargeObjectResponse delete(@PathParam("objectName") String objectName)
      Deletes a static large object, if present, including all of its segments.
      Parameters:
      objectName - corresponds to SwiftObject.getName().
    • getManifest

      @Named("staticLargeObject:getManifest") @GET List<Segment> getManifest(@PathParam("objectName") String objectName)
      Get a static large object's manifest.
      Parameters:
      objectName - corresponds to SwiftObject.getName().
      Returns:
      A list of the multipart segments