Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
  * this work for additional information regarding copyright ownership.
  * The ASF licenses this file to You under the Apache License, Version 2.0
  * (the "License"); you may not use this file except in compliance with
  * the License.  You may obtain a copy of the License at
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * See the License for the specific language governing permissions and
 * limitations under the License.
package org.jclouds.openstack.swift.v1.features;
import static;
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.

public interface StaticLargeObjectApi {

Creates or updates a static large object's manifest.

objectName corresponds to SwiftObject#getName().
segments ordered parts which will be concatenated upon download.
metadata corresponds to SwiftObject#getMetadata().
SwiftObject#getEtag() of the object, which is the MD5 checksum of the concatenated ETag values of the segments.
   @QueryParams(keys = "multipart-manifest", values = "put")
   String replaceManifest(@PathParam("objectName"String objectName,

Deletes a static large object, if present, including all of its segments.

objectName corresponds to SwiftObject#getName().
   @QueryParams(keys = "multipart-manifest", values = "delete")
   void delete(@PathParam("objectName"String objectName);
New to GrepCode? Check out our FAQ X